Condividi tramite


AnnotationCodeGenerator.IsHandledByConvention Metodo

Definizione

Overload

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato overrides.

IsHandledByConvention(ITrigger, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato trigger.

IsHandledByConvention(ISkipNavigation, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato navigation.

IsHandledByConvention(ISequence, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato sequence.

IsHandledByConvention(IProperty, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato property.

IsHandledByConvention(INavigation, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato navigation.

IsHandledByConvention(IModel, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato model.

IsHandledByConvention(IIndex, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato index.

IsHandledByConvention(IForeignKey, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato foreignKey.

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato fragment.

IsHandledByConvention(IEntityType, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato entityType.

IsHandledByConvention(IComplexType, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato complexType.

IsHandledByConvention(IComplexProperty, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato complexProperty.

IsHandledByConvention(ICheckConstraint, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato checkConstraint.

IsHandledByConvention(IKey, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato key.

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(ITrigger, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

trigger
ITrigger

Oggetto ITrigger.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(ISkipNavigation, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

navigation
ISkipNavigation

Oggetto ISkipNavigation.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(ISequence, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

sequence
ISequence

Oggetto ISequence.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IProperty, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

property
IProperty

Oggetto IProperty.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(INavigation, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

navigation
INavigation

Oggetto INavigation.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IModel, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

model
IModel

Oggetto IModel.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

true se l'annotazione viene gestita per convenzione; false se il codice deve essere generato.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IIndex, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

index
IIndex

Oggetto IIndex.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IForeignKey, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

foreignKey
IForeignKey

Oggetto IForeignKey.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IEntityType, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

entityType
IEntityType

Oggetto IEntityType.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IComplexType, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

complexType
IComplexType

Oggetto IComplexType.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IComplexProperty, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

complexProperty
IComplexProperty

Oggetto IComplexProperty.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(ICheckConstraint, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

checkConstraint
ICheckConstraint

Oggetto ICheckConstraint.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a

IsHandledByConvention(IKey, IAnnotation)

Controlla se l'oggetto specificato annotation viene gestito per convenzione quando viene applicato all'oggetto specificato 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

Parametri

key
IKey

Oggetto IKey.

annotation
IAnnotation

Oggetto IAnnotation.

Restituisce

false.

Implementazioni

Commenti

L'implementazione predefinita restituisce sempre false.

Si applica a