Class ConventionDispatcher
- Assembly
- Microsoft.EntityFrameworkCore.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class ConventionDispatcher
- Inheritance
-
ConventionDispatcher
- Inherited Members
Constructors
ConventionDispatcher(ConventionSet)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public ConventionDispatcher(ConventionSet conventionSet)
Parameters
conventionSet
ConventionSet
Properties
Tracker
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual MetadataTracker Tracker { get; }
Property Value
Methods
AssertNoScope()
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
[Conditional("DEBUG")]
public virtual void AssertNoScope()
DelayConventions()
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionBatch DelayConventions()
Returns
OnComplexPropertyAdded(IConventionComplexPropertyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionComplexPropertyBuilder? OnComplexPropertyAdded(IConventionComplexPropertyBuilder propertyBuilder)
Parameters
propertyBuilder
IConventionComplexPropertyBuilder
Returns
OnComplexPropertyAnnotationChanged(IConventionComplexPropertyBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnComplexPropertyAnnotationChanged(IConventionComplexPropertyBuilder propertyBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
propertyBuilder
IConventionComplexPropertyBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnComplexPropertyFieldChanged(IConventionComplexPropertyBuilder, FieldInfo?, FieldInfo?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual FieldInfo? OnComplexPropertyFieldChanged(IConventionComplexPropertyBuilder propertyBuilder, FieldInfo? newFieldInfo, FieldInfo? oldFieldInfo)
Parameters
propertyBuilder
IConventionComplexPropertyBuildernewFieldInfo
FieldInfooldFieldInfo
FieldInfo
Returns
OnComplexPropertyNullabilityChanged(IConventionComplexPropertyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnComplexPropertyNullabilityChanged(IConventionComplexPropertyBuilder propertyBuilder)
Parameters
propertyBuilder
IConventionComplexPropertyBuilder
Returns
- bool?
OnComplexPropertyRemoved(IConventionTypeBaseBuilder, IConventionComplexProperty)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionComplexProperty? OnComplexPropertyRemoved(IConventionTypeBaseBuilder typeBaseBuilder, IConventionComplexProperty property)
Parameters
typeBaseBuilder
IConventionTypeBaseBuilderproperty
IConventionComplexProperty
Returns
OnComplexTypeAnnotationChanged(IConventionComplexTypeBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnComplexTypeAnnotationChanged(IConventionComplexTypeBuilder complexTypeBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
complexTypeBuilder
IConventionComplexTypeBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnComplexTypeMemberIgnored(IConventionComplexTypeBuilder, string)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? OnComplexTypeMemberIgnored(IConventionComplexTypeBuilder propertyBuilder, string name)
Parameters
propertyBuilder
IConventionComplexTypeBuildername
string
Returns
OnDiscriminatorPropertySet(IConventionEntityTypeBuilder, string?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? OnDiscriminatorPropertySet(IConventionEntityTypeBuilder entityTypeBuilder, string? name)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildername
string
Returns
OnElementTypeAnnotationChanged(IConventionElementTypeBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnElementTypeAnnotationChanged(IConventionElementTypeBuilder builder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
builder
IConventionElementTypeBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnElementTypeNullabilityChanged(IConventionElementTypeBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnElementTypeNullabilityChanged(IConventionElementTypeBuilder builder)
Parameters
builder
IConventionElementTypeBuilder
Returns
- bool?
OnEntityTypeAdded(IConventionEntityTypeBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionEntityTypeBuilder? OnEntityTypeAdded(IConventionEntityTypeBuilder entityTypeBuilder)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilder
Returns
OnEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnEntityTypeAnnotationChanged(IConventionEntityTypeBuilder entityTypeBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType?, IConventionEntityType?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionEntityType? OnEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder entityTypeBuilder, IConventionEntityType? newBaseType, IConventionEntityType? previousBaseType)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildernewBaseType
IConventionEntityTypepreviousBaseType
IConventionEntityType
Returns
OnEntityTypeMemberIgnored(IConventionEntityTypeBuilder, string)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? OnEntityTypeMemberIgnored(IConventionEntityTypeBuilder entityTypeBuilder, string name)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildername
string
Returns
OnEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionEntityType? OnEntityTypeRemoved(IConventionModelBuilder modelBuilder, IConventionEntityType type)
Parameters
modelBuilder
IConventionModelBuildertype
IConventionEntityType
Returns
OnForeignKeyAdded(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionForeignKeyBuilder? OnForeignKeyAdded(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
OnForeignKeyAnnotationChanged(IConventionForeignKeyBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnForeignKeyAnnotationChanged(IConventionForeignKeyBuilder relationshipBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
relationshipBuilder
IConventionForeignKeyBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnForeignKeyDependentRequirednessChanged(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnForeignKeyDependentRequirednessChanged(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
- bool?
OnForeignKeyNullNavigationSet(IConventionForeignKeyBuilder, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionNavigation? OnForeignKeyNullNavigationSet(IConventionForeignKeyBuilder relationshipBuilder, bool pointsToPrincipal)
Parameters
relationshipBuilder
IConventionForeignKeyBuilderpointsToPrincipal
bool
Returns
OnForeignKeyOwnershipChanged(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnForeignKeyOwnershipChanged(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
- bool?
OnForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionForeignKeyBuilder? OnForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
OnForeignKeyPropertiesChanged(IConventionForeignKeyBuilder, IReadOnlyList<IConventionProperty>, IConventionKey)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IReadOnlyList<IConventionProperty>? OnForeignKeyPropertiesChanged(IConventionForeignKeyBuilder relationshipBuilder, IReadOnlyList<IConventionProperty> oldDependentProperties, IConventionKey oldPrincipalKey)
Parameters
relationshipBuilder
IConventionForeignKeyBuilderoldDependentProperties
IReadOnlyList<IConventionProperty>oldPrincipalKey
IConventionKey
Returns
OnForeignKeyRemoved(IConventionEntityTypeBuilder, IConventionForeignKey)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionForeignKey? OnForeignKeyRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionForeignKey foreignKey)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilderforeignKey
IConventionForeignKey
Returns
OnForeignKeyRequirednessChanged(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnForeignKeyRequirednessChanged(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
- bool?
OnForeignKeyUniquenessChanged(IConventionForeignKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnForeignKeyUniquenessChanged(IConventionForeignKeyBuilder relationshipBuilder)
Parameters
relationshipBuilder
IConventionForeignKeyBuilder
Returns
- bool?
OnIndexAdded(IConventionIndexBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionIndexBuilder? OnIndexAdded(IConventionIndexBuilder indexBuilder)
Parameters
indexBuilder
IConventionIndexBuilder
Returns
OnIndexAnnotationChanged(IConventionIndexBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnIndexAnnotationChanged(IConventionIndexBuilder indexBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
indexBuilder
IConventionIndexBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnIndexRemoved(IConventionEntityTypeBuilder, IConventionIndex)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionIndex? OnIndexRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionIndex index)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilderindex
IConventionIndex
Returns
OnIndexSortOrderChanged(IConventionIndexBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IReadOnlyList<bool>? OnIndexSortOrderChanged(IConventionIndexBuilder indexBuilder)
Parameters
indexBuilder
IConventionIndexBuilder
Returns
OnIndexUniquenessChanged(IConventionIndexBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnIndexUniquenessChanged(IConventionIndexBuilder indexBuilder)
Parameters
indexBuilder
IConventionIndexBuilder
Returns
- bool?
OnKeyAdded(IConventionKeyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionKeyBuilder? OnKeyAdded(IConventionKeyBuilder keyBuilder)
Parameters
keyBuilder
IConventionKeyBuilder
Returns
OnKeyAnnotationChanged(IConventionKeyBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnKeyAnnotationChanged(IConventionKeyBuilder keyBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
keyBuilder
IConventionKeyBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnKeyRemoved(IConventionEntityTypeBuilder, IConventionKey)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionKey? OnKeyRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionKey key)
Parameters
entityTypeBuilder
IConventionEntityTypeBuilderkey
IConventionKey
Returns
OnModelAnnotationChanged(IConventionModelBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnModelAnnotationChanged(IConventionModelBuilder modelBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
modelBuilder
IConventionModelBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnModelFinalizing(IConventionModelBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionModelBuilder OnModelFinalizing(IConventionModelBuilder modelBuilder)
Parameters
modelBuilder
IConventionModelBuilder
Returns
OnModelInitialized(IConventionModelBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionModelBuilder OnModelInitialized(IConventionModelBuilder modelBuilder)
Parameters
modelBuilder
IConventionModelBuilder
Returns
OnNavigationAdded(IConventionNavigationBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionNavigationBuilder? OnNavigationAdded(IConventionNavigationBuilder navigationBuilder)
Parameters
navigationBuilder
IConventionNavigationBuilder
Returns
OnNavigationAnnotationChanged(IConventionForeignKeyBuilder, IConventionNavigation, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnNavigationAnnotationChanged(IConventionForeignKeyBuilder relationshipBuilder, IConventionNavigation navigation, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
relationshipBuilder
IConventionForeignKeyBuildernavigation
IConventionNavigationname
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnNavigationRemoved(IConventionEntityTypeBuilder, IConventionEntityTypeBuilder, string, MemberInfo?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? OnNavigationRemoved(IConventionEntityTypeBuilder sourceEntityTypeBuilder, IConventionEntityTypeBuilder targetEntityTypeBuilder, string navigationName, MemberInfo? memberInfo)
Parameters
sourceEntityTypeBuilder
IConventionEntityTypeBuildertargetEntityTypeBuilder
IConventionEntityTypeBuildernavigationName
stringmemberInfo
MemberInfo
Returns
OnPrimaryKeyChanged(IConventionEntityTypeBuilder, IConventionKey?, IConventionKey?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionKey? OnPrimaryKeyChanged(IConventionEntityTypeBuilder entityTypeBuilder, IConventionKey? newPrimaryKey, IConventionKey? previousPrimaryKey)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildernewPrimaryKey
IConventionKeypreviousPrimaryKey
IConventionKey
Returns
OnPropertyAdded(IConventionPropertyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionPropertyBuilder? OnPropertyAdded(IConventionPropertyBuilder propertyBuilder)
Parameters
propertyBuilder
IConventionPropertyBuilder
Returns
OnPropertyAnnotationChanged(IConventionPropertyBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnPropertyAnnotationChanged(IConventionPropertyBuilder propertyBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
propertyBuilder
IConventionPropertyBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnPropertyElementTypeChanged(IConventionPropertyBuilder, IElementType?, IElementType?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IElementType? OnPropertyElementTypeChanged(IConventionPropertyBuilder propertyBuilder, IElementType? newElementType, IElementType? oldElementType)
Parameters
propertyBuilder
IConventionPropertyBuildernewElementType
IElementTypeoldElementType
IElementType
Returns
OnPropertyFieldChanged(IConventionPropertyBuilder, FieldInfo?, FieldInfo?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual FieldInfo? OnPropertyFieldChanged(IConventionPropertyBuilder propertyBuilder, FieldInfo? newFieldInfo, FieldInfo? oldFieldInfo)
Parameters
propertyBuilder
IConventionPropertyBuildernewFieldInfo
FieldInfooldFieldInfo
FieldInfo
Returns
OnPropertyNullabilityChanged(IConventionPropertyBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool? OnPropertyNullabilityChanged(IConventionPropertyBuilder propertyBuilder)
Parameters
propertyBuilder
IConventionPropertyBuilder
Returns
- bool?
OnPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionProperty? OnPropertyRemoved(IConventionTypeBaseBuilder typeBaseBuilder, IConventionProperty property)
Parameters
typeBaseBuilder
IConventionTypeBaseBuilderproperty
IConventionProperty
Returns
OnSkipNavigationAdded(IConventionSkipNavigationBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionSkipNavigationBuilder? OnSkipNavigationAdded(IConventionSkipNavigationBuilder navigationBuilder)
Parameters
navigationBuilder
IConventionSkipNavigationBuilder
Returns
OnSkipNavigationAnnotationChanged(IConventionSkipNavigationBuilder, string, IConventionAnnotation?, IConventionAnnotation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionAnnotation? OnSkipNavigationAnnotationChanged(IConventionSkipNavigationBuilder navigationBuilder, string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)
Parameters
navigationBuilder
IConventionSkipNavigationBuildername
stringannotation
IConventionAnnotationoldAnnotation
IConventionAnnotation
Returns
OnSkipNavigationForeignKeyChanged(IConventionSkipNavigationBuilder, IConventionForeignKey?, IConventionForeignKey?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionForeignKey? OnSkipNavigationForeignKeyChanged(IConventionSkipNavigationBuilder navigationBuilder, IConventionForeignKey? foreignKey, IConventionForeignKey? oldForeignKey)
Parameters
navigationBuilder
IConventionSkipNavigationBuilderforeignKey
IConventionForeignKeyoldForeignKey
IConventionForeignKey
Returns
OnSkipNavigationInverseChanged(IConventionSkipNavigationBuilder, IConventionSkipNavigation?, IConventionSkipNavigation?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionSkipNavigation? OnSkipNavigationInverseChanged(IConventionSkipNavigationBuilder navigationBuilder, IConventionSkipNavigation? inverse, IConventionSkipNavigation? oldInverse)
Parameters
navigationBuilder
IConventionSkipNavigationBuilderinverse
IConventionSkipNavigationoldInverse
IConventionSkipNavigation
Returns
OnSkipNavigationRemoved(IConventionEntityTypeBuilder, IConventionSkipNavigation)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionSkipNavigation? OnSkipNavigationRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionSkipNavigation navigation)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildernavigation
IConventionSkipNavigation
Returns
OnTriggerAdded(IConventionTriggerBuilder)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionTriggerBuilder? OnTriggerAdded(IConventionTriggerBuilder triggerBuilder)
Parameters
triggerBuilder
IConventionTriggerBuilder
Returns
OnTriggerRemoved(IConventionEntityTypeBuilder, IConventionTrigger)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual IConventionTrigger? OnTriggerRemoved(IConventionEntityTypeBuilder entityTypeBuilder, IConventionTrigger trigger)
Parameters
entityTypeBuilder
IConventionEntityTypeBuildertrigger
IConventionTrigger
Returns
OnTypeIgnored(IConventionModelBuilder, string, Type?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual string? OnTypeIgnored(IConventionModelBuilder modelBuilder, string name, Type? type)
Parameters
modelBuilder
IConventionModelBuildername
stringtype
Type
Returns
Track<T>(Func<T>, ref IConventionForeignKey?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual T Track<T>(Func<T> func, ref IConventionForeignKey? foreignKey)
Parameters
func
Func<T>foreignKey
IConventionForeignKey
Returns
- T
Type Parameters
T