Compartilhar via


AnnotationCodeGenerator.IsHandledByConvention Método

Definição

Sobrecargas

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado overrides.

IsHandledByConvention(ITrigger, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado trigger.

IsHandledByConvention(ISkipNavigation, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado navigation.

IsHandledByConvention(ISequence, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado sequence.

IsHandledByConvention(IProperty, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado property.

IsHandledByConvention(INavigation, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado navigation.

IsHandledByConvention(IModel, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado model.

IsHandledByConvention(IIndex, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado index.

IsHandledByConvention(IForeignKey, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado foreignKey.

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado fragment.

IsHandledByConvention(IEntityType, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado entityType.

IsHandledByConvention(IComplexType, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado complexType.

IsHandledByConvention(IComplexProperty, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado complexProperty.

IsHandledByConvention(ICheckConstraint, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado checkConstraint.

IsHandledByConvention(IKey, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado key.

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(ITrigger, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

trigger
ITrigger

O ITrigger.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(ISkipNavigation, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(ISequence, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

sequence
ISequence

O ISequence.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IProperty, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

property
IProperty

O IProperty.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(INavigation, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

navigation
INavigation

O INavigation.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IModel, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

model
IModel

O IModel.

annotation
IAnnotation

O IAnnotation.

Retornos

true se a anotação for tratada por convenção; false se o código precisar ser gerado.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IIndex, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

index
IIndex

O IIndex.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IForeignKey, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

foreignKey
IForeignKey

O IForeignKey.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IEntityType, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

entityType
IEntityType

O IEntityType.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IComplexType, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

complexType
IComplexType

O IComplexType.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IComplexProperty, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

complexProperty
IComplexProperty

O IComplexProperty.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(ICheckConstraint, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

checkConstraint
ICheckConstraint

O ICheckConstraint.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Comentários

A implementação padrão sempre retorna false.

Aplica-se a

IsHandledByConvention(IKey, IAnnotation)

Verifica se o determinado annotation é tratado por convenção quando aplicado ao determinado 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

Parâmetros

key
IKey

O IKey.

annotation
IAnnotation

O IAnnotation.

Retornos

false.

Implementações

Comentários

A implementação padrão sempre retorna false.

Aplica-se a