Поделиться через


AnnotationCodeGenerator.IsHandledByConvention Метод

Определение

Перегрузки

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному overridesобъекту .

IsHandledByConvention(ITrigger, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному triggerобъекту .

IsHandledByConvention(ISkipNavigation, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному navigationобъекту .

IsHandledByConvention(ISequence, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному sequenceобъекту .

IsHandledByConvention(IProperty, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному propertyобъекту .

IsHandledByConvention(INavigation, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному navigationобъекту .

IsHandledByConvention(IModel, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному modelобъекту .

IsHandledByConvention(IIndex, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному indexобъекту .

IsHandledByConvention(IForeignKey, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному foreignKeyобъекту .

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному fragmentобъекту .

IsHandledByConvention(IEntityType, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному entityTypeобъекту .

IsHandledByConvention(IComplexType, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному complexTypeобъекту .

IsHandledByConvention(IComplexProperty, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному complexPropertyобъекту .

IsHandledByConvention(ICheckConstraint, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному checkConstraintобъекту .

IsHandledByConvention(IKey, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному keyобъекту .

IsHandledByConvention(IRelationalPropertyOverrides, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(ITrigger, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

trigger
ITrigger

ITrigger.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(ISkipNavigation, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(ISequence, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

sequence
ISequence

ISequence.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IProperty, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

property
IProperty

IProperty.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(INavigation, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

navigation
INavigation

INavigation.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IModel, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

model
IModel

IModel.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

true , если заметка обрабатывается по соглашению; false Значение , если код должен быть создан.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IIndex, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

index
IIndex

IIndex.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IForeignKey, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

foreignKey
IForeignKey

IForeignKey.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IEntityTypeMappingFragment, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IEntityType, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

entityType
IEntityType

IEntityType.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IComplexType, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

complexType
IComplexType

IComplexType.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IComplexProperty, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(ICheckConstraint, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к

IsHandledByConvention(IKey, IAnnotation)

Проверяет, обрабатывается ли заданный annotation по соглашению при применении к заданному 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

Параметры

key
IKey

IKey.

annotation
IAnnotation

IAnnotation.

Возвращаемое значение

false.

Реализации

Комментарии

Реализация по умолчанию всегда возвращает значение false.

Применяется к