Język

IAnnotationCodeGenerator.IsHandledByConvention Metoda

Definicja

Przeciążenia

Nazwisko Opis
IsHandledByConvention(IProperty, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IProperty.

IsHandledByConvention(IModel, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IModel.

IsHandledByConvention(IKey, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IKey.

IsHandledByConvention(IIndex, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IIndex.

IsHandledByConvention(IForeignKey, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IForeignKey.

IsHandledByConvention(IEntityType, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IEntityType.

IsHandledByConvention(IProperty, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IProperty.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (property As IProperty, annotation As IAnnotation) As Boolean

Parametry

property
IProperty

IProperty.

annotation
IAnnotation

IAnnotation.

Zwraca

Dotyczy

IsHandledByConvention(IModel, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IModel.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (model As IModel, annotation As IAnnotation) As Boolean

Parametry

model
IModel

IModel.

annotation
IAnnotation

IAnnotation.

Zwraca

Wartość true, jeśli adnotacja jest obsługiwana zgodnie z konwencją; false, jeśli należy wygenerować kod.

Dotyczy

IsHandledByConvention(IKey, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IKey.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (key As IKey, annotation As IAnnotation) As Boolean

Parametry

key
IKey

IKey.

annotation
IAnnotation

IAnnotation.

Zwraca

Dotyczy

IsHandledByConvention(IIndex, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IIndex.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (index As IIndex, annotation As IAnnotation) As Boolean

Parametry

index
IIndex

IIndex.

annotation
IAnnotation

IAnnotation.

Zwraca

Dotyczy

IsHandledByConvention(IForeignKey, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IForeignKey.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (foreignKey As IForeignKey, annotation As IAnnotation) As Boolean

Parametry

foreignKey
IForeignKey

IForeignKey.

annotation
IAnnotation

IAnnotation.

Zwraca

Dotyczy

IsHandledByConvention(IEntityType, IAnnotation)

Sprawdza, czy dana wartość IAnnotation jest obsługiwana przez konwencję po zastosowaniu do danego IEntityType.

public bool IsHandledByConvention(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member IsHandledByConvention : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> bool
Public Function IsHandledByConvention (entityType As IEntityType, annotation As IAnnotation) As Boolean

Parametry

entityType
IEntityType

IEntityType.

annotation
IAnnotation

IAnnotation.

Zwraca

Wartość true, jeśli adnotacja jest obsługiwana zgodnie z konwencją; false, jeśli należy wygenerować kod.

Dotyczy