Compartir a través de


AnnotationCodeGenerator.IsHandledByConvention Método

Definición

Sobrecargas

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada overrides.

IsHandledByConvention(ITrigger, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada trigger.

IsHandledByConvention(ISkipNavigation, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada navigation.

IsHandledByConvention(ISequence, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada sequence.

IsHandledByConvention(IProperty, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada property.

IsHandledByConvention(INavigation, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada navigation.

IsHandledByConvention(IModel, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada model.

IsHandledByConvention(IIndex, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada index.

IsHandledByConvention(IForeignKey, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada foreignKey.

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada fragment.

IsHandledByConvention(IEntityType, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada entityType.

IsHandledByConvention(IComplexType, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada complexType.

IsHandledByConvention(IComplexProperty, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada complexProperty.

IsHandledByConvention(ICheckConstraint, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada checkConstraint.

IsHandledByConvention(IKey, IAnnotation)

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada key.

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(ITrigger, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

ITrigger.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(ISkipNavigation, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(ISequence, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

ISequence.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IProperty, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IProperty.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(INavigation, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

INavigation.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IModel, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IModel.

annotation
IAnnotation

IAnnotation.

Devoluciones

true si la anotación se controla por convención; false si se debe generar código.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IIndex, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IIndex.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IForeignKey, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IForeignKey.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IEntityType, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IEntityType.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IComplexType, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IComplexType.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IComplexProperty, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(ICheckConstraint, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a

IsHandledByConvention(IKey, IAnnotation)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

Comprueba si la clase especificada annotation se controla por convención cuando se aplica a la especificada 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

IKey.

annotation
IAnnotation

IAnnotation.

Devoluciones

false.

Implementaciones

Comentarios

La implementación predeterminada siempre devuelve false.

Se aplica a