Share via


AnnotationCodeGenerator.IsHandledByConvention Methode

Definition

Überlädt

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen overridesangewendet wird.

IsHandledByConvention(ITrigger, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen triggerangewendet wird.

IsHandledByConvention(ISkipNavigation, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen navigationangewendet wird.

IsHandledByConvention(ISequence, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen sequenceangewendet wird.

IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen propertyangewendet wird.

IsHandledByConvention(INavigation, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen navigationangewendet wird.

IsHandledByConvention(IModel, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen modelangewendet wird.

IsHandledByConvention(IIndex, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen indexangewendet wird.

IsHandledByConvention(IForeignKey, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen foreignKeyangewendet wird.

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen fragmentangewendet wird.

IsHandledByConvention(IEntityType, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen entityTypeangewendet wird.

IsHandledByConvention(IComplexType, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen complexTypeangewendet wird.

IsHandledByConvention(IComplexProperty, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen complexPropertyangewendet wird.

IsHandledByConvention(ICheckConstraint, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen checkConstraintangewendet wird.

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen keyangewendet wird.

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen overridesangewendet wird.

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

Parameter

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(ITrigger, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen triggerangewendet wird.

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

Parameter

trigger
ITrigger

Die ITrigger.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(ISkipNavigation, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen navigationangewendet wird.

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

Parameter

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(ISequence, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen sequenceangewendet wird.

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

Parameter

sequence
ISequence

Die ISequence.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IProperty, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen propertyangewendet wird.

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

Parameter

property
IProperty

Die IProperty.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(INavigation, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen navigationangewendet wird.

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

Parameter

navigation
INavigation

Die INavigation.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IModel, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen modelangewendet wird.

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

Parameter

model
IModel

Die IModel.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

true , wenn die Anmerkung gemäß Konvention behandelt wird; false , wenn Code generiert werden muss.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IIndex, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen indexangewendet wird.

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

Parameter

index
IIndex

Die IIndex.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IForeignKey, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen foreignKeyangewendet wird.

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

Parameter

foreignKey
IForeignKey

Die IForeignKey.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen fragmentangewendet wird.

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

Parameter

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IEntityType, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen entityTypeangewendet wird.

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

Parameter

entityType
IEntityType

Die IEntityType.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IComplexType, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen complexTypeangewendet wird.

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

Parameter

complexType
IComplexType

Die IComplexType.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IComplexProperty, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen complexPropertyangewendet wird.

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

Parameter

complexProperty
IComplexProperty

Die IComplexProperty.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(ICheckConstraint, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen checkConstraintangewendet wird.

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

Parameter

checkConstraint
ICheckConstraint

Die ICheckConstraint.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für:

IsHandledByConvention(IKey, IAnnotation)

Überprüft, ob die angegebene annotation nach Konvention behandelt wird, wenn sie auf den angegebenen keyangewendet wird.

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

Parameter

key
IKey

Die IKey.

annotation
IAnnotation

Die IAnnotation.

Gibt zurück

false.

Implementiert

Hinweise

Die Standardimplementierung gibt immer false zurück.

Gilt für: