Share via


IAnnotationCodeGenerator.RemoveAnnotationsHandledByConventions Method

Definition

Overloads

RemoveAnnotationsHandledByConventions(ISkipNavigation, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(ISequence, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IProperty, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(INavigation, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IModel, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IKey, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IAnnotatable, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IForeignKey, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IComplexType, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IComplexProperty, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(ICheckConstraint, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(ITrigger, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IIndex, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(IEntityType, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

RemoveAnnotationsHandledByConventions(ISkipNavigation, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (navigation As ISkipNavigation, annotations As IDictionary(Of String, IAnnotation))

Parameters

navigation
ISkipNavigation

The navigation to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(ISequence, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ISequence * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ISequence * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (sequence As ISequence, annotations As IDictionary(Of String, IAnnotation))

Parameters

sequence
ISequence

The sequence to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (overrides As IRelationalPropertyOverrides, annotations As IDictionary(Of String, IAnnotation))

Parameters

overrides
IRelationalPropertyOverrides

The property overrides to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IProperty, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IProperty property, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (property As IProperty, annotations As IDictionary(Of String, IAnnotation))

Parameters

property
IProperty

The property to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(INavigation, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (navigation As INavigation, annotations As IDictionary(Of String, IAnnotation))

Parameters

navigation
INavigation

The navigation to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IModel, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IModel model, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (model As IModel, annotations As IDictionary(Of String, IAnnotation))

Parameters

model
IModel

The model to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IKey, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IKey key, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (key As IKey, annotations As IDictionary(Of String, IAnnotation))

Parameters

key
IKey

The key to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IAnnotatable, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (annotatable As IAnnotatable, annotations As IDictionary(Of String, IAnnotation))

Parameters

annotatable
IAnnotatable

The annotatable to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to generate fluent API calls.

Applies to

RemoveAnnotationsHandledByConventions(IForeignKey, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (foreignKey As IForeignKey, annotations As IDictionary(Of String, IAnnotation))

Parameters

foreignKey
IForeignKey

The foreign key to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (fragment As IEntityTypeMappingFragment, annotations As IDictionary(Of String, IAnnotation))

Parameters

fragment
IEntityTypeMappingFragment

The entity mapping fragment to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IComplexType, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IComplexType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IComplexType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (complexType As IComplexType, annotations As IDictionary(Of String, IAnnotation))

Parameters

complexType
IComplexType

The complex type to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IComplexProperty, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (complexProperty As IComplexProperty, annotations As IDictionary(Of String, IAnnotation))

Parameters

complexProperty
IComplexProperty

The complex property to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(ICheckConstraint, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (checkConstraint As ICheckConstraint, annotations As IDictionary(Of String, IAnnotation))

Parameters

checkConstraint
ICheckConstraint

The check constraint to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(ITrigger, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ITrigger * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.ITrigger * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (trigger As ITrigger, annotations As IDictionary(Of String, IAnnotation))

Parameters

trigger
ITrigger

The trigger to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IIndex, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IIndex index, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (index As IIndex, annotations As IDictionary(Of String, IAnnotation))

Parameters

index
IIndex

The index to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to

RemoveAnnotationsHandledByConventions(IEntityType, IDictionary<String,IAnnotation>)

Removes annotation whose configuration is already applied by convention, and do not need to be specified explicitly.

public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IEntityType entity, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
public virtual void RemoveAnnotationsHandledByConventions (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
abstract member RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
override this.RemoveAnnotationsHandledByConventions : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> unit
Public Overridable Sub RemoveAnnotationsHandledByConventions (entity As IEntityType, annotations As IDictionary(Of String, IAnnotation))
Public Overridable Sub RemoveAnnotationsHandledByConventions (entityType As IEntityType, annotations As IDictionary(Of String, IAnnotation))

Parameters

entityentityType
IEntityType

The entity to which the annotations are applied.

annotations
IDictionary<String,IAnnotation>

The set of annotations from which to remove the conventional ones.

Applies to