IAnnotationCodeGenerator.IsHandledByConvention Methode

Definition

Überlädt

IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IPropertyangewendet wird.

IsHandledByConvention(IModel, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IModelangewendet wird.

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IKeyangewendet wird.

IsHandledByConvention(IIndex, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IIndexangewendet wird.

IsHandledByConvention(IForeignKey, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IForeignKeyangewendet wird.

IsHandledByConvention(IEntityType, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IEntityTypeangewendet wird.

IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IPropertyangewendet wird.

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

Parameter

property
IProperty

Die IProperty.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

Gilt für:

IsHandledByConvention(IModel, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IModelangewendet wird.

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

Parameter

model
IModel

Die IModel.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

True, wenn die Anmerkung nach Konvention behandelt wird; false, wenn Code generiert werden muss.

Gilt für:

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IKeyangewendet wird.

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

Parameter

key
IKey

Die IKey.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

Gilt für:

IsHandledByConvention(IIndex, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IIndexangewendet wird.

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

Parameter

index
IIndex

Die IIndex.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

Gilt für:

IsHandledByConvention(IForeignKey, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IForeignKeyangewendet wird.

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

Parameter

foreignKey
IForeignKey

Die IForeignKey.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

Gilt für:

IsHandledByConvention(IEntityType, IAnnotation)

Überprüft, ob das angegebene IAnnotation nach Konvention behandelt wird, wenn es auf den angegebenen IEntityTypeangewendet wird.

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

Parameter

entityType
IEntityType

Die IEntityType.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

True, wenn die Anmerkung nach Konvention behandelt wird; false, wenn Code generiert werden muss.

Gilt für: