Sprache

IAnnotationCodeGenerator.IsHandledByConvention Methode

Definition

Überlädt

Name Beschreibung
IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IPropertyangewendet wird.

IsHandledByConvention(IModel, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IModelangewendet wird.

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IKeyangewendet wird.

IsHandledByConvention(IIndex, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IIndexangewendet wird.

IsHandledByConvention(IForeignKey, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IForeignKeyangewendet wird.

IsHandledByConvention(IEntityType, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung IEntityTypeangewendet wird.

IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 konventionsgemäß behandelt wird; false, wenn Code generiert werden muss.

Gilt für:

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 die angegebene Angabe IAnnotation gemäß der Konvention behandelt wird, wenn sie auf die angegebene Anwendung 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 konventionsgemäß behandelt wird; false, wenn Code generiert werden muss.

Gilt für: