IAnnotationCodeGenerator.RemoveAnnotationsHandledByConventions 方法

定义

重载

RemoveAnnotationsHandledByConventions(ISkipNavigation, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(ISequence, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IProperty, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(INavigation, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IModel, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IKey, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IAnnotatable, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IForeignKey, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IComplexType, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IComplexProperty, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(ICheckConstraint, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(ITrigger, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IIndex, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(IEntityType, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

RemoveAnnotationsHandledByConventions(ISkipNavigation, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

navigation
ISkipNavigation

应用批注的导航。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(ISequence, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

sequence
ISequence

应用批注的顺序。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

overrides
IRelationalPropertyOverrides

属性将重写要对其应用批注的 。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IProperty, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

property
IProperty

要对其应用批注的属性。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(INavigation, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

navigation
INavigation

应用批注的导航。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IModel, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

model
IModel

要向其应用批注的模型。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IKey, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

key
IKey

将批注应用到的键。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IAnnotatable, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

annotatable
IAnnotatable

应用批注的不可改变值。

annotations
IDictionary<String,IAnnotation>

要从中生成流畅 API 调用的批注集。

适用于

RemoveAnnotationsHandledByConventions(IForeignKey, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

foreignKey
IForeignKey

要向其应用批注的外键。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

fragment
IEntityTypeMappingFragment

将批注应用到的实体映射片段。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IComplexType, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

complexType
IComplexType

要向其应用批注的复杂类型。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IComplexProperty, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

complexProperty
IComplexProperty

要对其应用批注的复杂属性。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(ICheckConstraint, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

checkConstraint
ICheckConstraint

应用批注的检查约束。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(ITrigger, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

trigger
ITrigger

将批注应用到的触发器。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IIndex, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

index
IIndex

应用批注的索引。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于

RemoveAnnotationsHandledByConventions(IEntityType, IDictionary<String,IAnnotation>)

删除其配置已按约定应用且无需显式指定的注释。

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))

参数

entityentityType
IEntityType

要向其应用批注的实体。

annotations
IDictionary<String,IAnnotation>

要从中删除传统批注的批注集。

适用于