共用方式為


AnnotationCodeGenerator.IsHandledByConvention 方法

定義

多載

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 overrides

IsHandledByConvention(ITrigger, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 trigger

IsHandledByConvention(ISkipNavigation, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 navigation

IsHandledByConvention(ISequence, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 sequence

IsHandledByConvention(IProperty, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 property

IsHandledByConvention(INavigation, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 navigation

IsHandledByConvention(IModel, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 model

IsHandledByConvention(IIndex, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 index

IsHandledByConvention(IForeignKey, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 foreignKey

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 fragment

IsHandledByConvention(IEntityType, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 entityType

IsHandledByConvention(IComplexType, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 complexType

IsHandledByConvention(IComplexProperty, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 complexProperty

IsHandledByConvention(ICheckConstraint, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 checkConstraint

IsHandledByConvention(IKey, IAnnotation)

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 key

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 overrides

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (overrides As IRelationalPropertyOverrides, annotation As IAnnotation) As Boolean

參數

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(ITrigger, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 trigger

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (trigger As ITrigger, annotation As IAnnotation) As Boolean

參數

trigger
ITrigger

ITrigger

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(ISkipNavigation, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 navigation

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (navigation As ISkipNavigation, annotation As IAnnotation) As Boolean

參數

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(ISequence, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 sequence

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (sequence As ISequence, annotation As IAnnotation) As Boolean

參數

sequence
ISequence

ISequence

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IProperty, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 property

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean

參數

property
IProperty

IProperty

annotation
IAnnotation

IAnnotation

傳回

false.

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(INavigation, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 navigation

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (navigation As INavigation, annotation As IAnnotation) As Boolean

參數

navigation
INavigation

INavigation

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IModel, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 model

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean

參數

model
IModel

IModel

annotation
IAnnotation

IAnnotation

傳回

true 如果注釋是由慣例處理,則為 ; false 如果必須產生程式碼,則為 。

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IIndex, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 index

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean

參數

index
IIndex

IIndex

annotation
IAnnotation

IAnnotation

傳回

false.

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IForeignKey, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 foreignKey

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean

參數

foreignKey
IForeignKey

IForeignKey

annotation
IAnnotation

IAnnotation

傳回

false.

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 fragment

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (fragment As IEntityTypeMappingFragment, annotation As IAnnotation) As Boolean

參數

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IEntityType, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 entityType

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean

參數

entityType
IEntityType

IEntityType

annotation
IAnnotation

IAnnotation

傳回

false.

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IComplexType, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 complexType

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (complexType As IComplexType, annotation As IAnnotation) As Boolean

參數

complexType
IComplexType

IComplexType

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IComplexProperty, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 complexProperty

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (complexProperty As IComplexProperty, annotation As IAnnotation) As Boolean

參數

complexProperty
IComplexProperty

IComplexProperty

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(ICheckConstraint, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 checkConstraint

protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Protected Overridable Function IsHandledByConvention (checkConstraint As ICheckConstraint, annotation As IAnnotation) As Boolean

參數

checkConstraint
ICheckConstraint

ICheckConstraint

annotation
IAnnotation

IAnnotation

傳回

false.

備註

預設的實作 (Implementation) 一定會傳回 false

適用於

IsHandledByConvention(IKey, IAnnotation)

來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs
來源:
AnnotationCodeGenerator.cs

當套用至指定的 時, annotation 檢查指定的 是否由慣例處理。 key

public virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual bool IsHandledByConvention (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
override this.IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean
Protected Overridable Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean

參數

key
IKey

IKey

annotation
IAnnotation

IAnnotation

傳回

false.

實作

備註

預設的實作 (Implementation) 一定會傳回 false

適用於