Udostępnij za pośrednictwem


AnnotationCodeGenerator.IsHandledByConvention Metoda

Definicja

Przeciążenia

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego overridespliku .

IsHandledByConvention(ITrigger, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego triggerpliku .

IsHandledByConvention(ISkipNavigation, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego navigationpliku .

IsHandledByConvention(ISequence, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego sequencepliku .

IsHandledByConvention(IProperty, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego propertypliku .

IsHandledByConvention(INavigation, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego navigationpliku .

IsHandledByConvention(IModel, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego modelpliku .

IsHandledByConvention(IIndex, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego indexpliku .

IsHandledByConvention(IForeignKey, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego foreignKeypliku .

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego fragmentpliku .

IsHandledByConvention(IEntityType, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego entityTypepliku .

IsHandledByConvention(IComplexType, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego complexTypepliku .

IsHandledByConvention(IComplexProperty, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego complexPropertypliku .

IsHandledByConvention(ICheckConstraint, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego checkConstraintpliku .

IsHandledByConvention(IKey, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego keypliku .

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego overridespliku .

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

Parametry

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(ITrigger, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego triggerpliku .

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

Parametry

trigger
ITrigger

Element ITrigger.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(ISkipNavigation, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego navigationpliku .

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

Parametry

navigation
ISkipNavigation

Element ISkipNavigation.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(ISequence, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego sequencepliku .

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

Parametry

sequence
ISequence

Element ISequence.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IProperty, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego propertypliku .

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

Parametry

property
IProperty

Element IProperty.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(INavigation, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego navigationpliku .

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

Parametry

navigation
INavigation

Element INavigation.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IModel, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego modelpliku .

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

Parametry

model
IModel

Element IModel.

annotation
IAnnotation

Element IAnnotation.

Zwraca

true jeśli adnotacja jest obsługiwana zgodnie z konwencją; false jeśli kod musi zostać wygenerowany.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IIndex, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego indexpliku .

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

Parametry

index
IIndex

Element IIndex.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IForeignKey, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego foreignKeypliku .

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

Parametry

foreignKey
IForeignKey

Element IForeignKey.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego fragmentpliku .

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

Parametry

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IEntityType, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego entityTypepliku .

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

Parametry

entityType
IEntityType

Element IEntityType.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IComplexType, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego complexTypepliku .

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

Parametry

complexType
IComplexType

Element IComplexType.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IComplexProperty, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego complexPropertypliku .

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

Parametry

complexProperty
IComplexProperty

Element IComplexProperty.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(ICheckConstraint, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego checkConstraintpliku .

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

Parametry

checkConstraint
ICheckConstraint

Element ICheckConstraint.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy

IsHandledByConvention(IKey, IAnnotation)

Sprawdza, czy dana wartość annotation jest obsługiwana przez konwencję w przypadku zastosowania do danego keypliku .

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

Parametry

key
IKey

Element IKey.

annotation
IAnnotation

Element IAnnotation.

Zwraca

false.

Implementuje

Uwagi

Domyślna implementacja zawsze zwraca wartość false.

Dotyczy