語言

IAnnotationCodeGenerator.RemoveAnnotationsHandledByConventions 方法

定義

多載

名稱 Description
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>)

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

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

來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs
來源:
IAnnotationCodeGenerator.cs

移除已依慣例套用且不需明確指定的註解。

public virtual void RemoveAnnotationsHandledByConventions(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
public virtual void RemoveAnnotationsHandledByConventions(Microsoft.EntityFrameworkCore.Metadata.IEntityType entity, 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 (entityType As IEntityType, annotations As IDictionary(Of String, IAnnotation))
Public Overridable Sub RemoveAnnotationsHandledByConventions (entity As IEntityType, annotations As IDictionary(Of String, IAnnotation))

參數

entityTypeentity
IEntityType

註解所應用的實體類型。

annotations
IDictionary<String,IAnnotation>

一組註解,用來移除傳統註解。

適用於