Table of Contents

Class ConventionDispatcher

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal
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

MetadataTracker

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

IConventionBatch

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

IConventionComplexPropertyBuilder

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 IConventionComplexPropertyBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionComplexPropertyBuilder
newFieldInfo FieldInfo
oldFieldInfo FieldInfo

Returns

FieldInfo

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 IConventionTypeBaseBuilder
property IConventionComplexProperty

Returns

IConventionComplexProperty

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 IConventionComplexTypeBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionComplexTypeBuilder
name string

Returns

string

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 IConventionEntityTypeBuilder
name string

Returns

string

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 IConventionElementTypeBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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

IConventionEntityTypeBuilder

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 IConventionEntityTypeBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionEntityTypeBuilder
newBaseType IConventionEntityType
previousBaseType IConventionEntityType

Returns

IConventionEntityType

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 IConventionEntityTypeBuilder
name string

Returns

string

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 IConventionModelBuilder
type IConventionEntityType

Returns

IConventionEntityType

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

IConventionForeignKeyBuilder

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 IConventionForeignKeyBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionForeignKeyBuilder
pointsToPrincipal bool

Returns

IConventionNavigation

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

IConventionForeignKeyBuilder

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 IConventionForeignKeyBuilder
oldDependentProperties IReadOnlyList<IConventionProperty>
oldPrincipalKey IConventionKey

Returns

IReadOnlyList<IConventionProperty>

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 IConventionEntityTypeBuilder
foreignKey IConventionForeignKey

Returns

IConventionForeignKey

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

IConventionIndexBuilder

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 IConventionIndexBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionEntityTypeBuilder
index IConventionIndex

Returns

IConventionIndex

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

IReadOnlyList<bool>

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

IConventionKeyBuilder

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 IConventionKeyBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionEntityTypeBuilder
key IConventionKey

Returns

IConventionKey

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 IConventionModelBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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

IConventionModelBuilder

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

IConventionModelBuilder

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

IConventionNavigationBuilder

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 IConventionForeignKeyBuilder
navigation IConventionNavigation
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionEntityTypeBuilder
targetEntityTypeBuilder IConventionEntityTypeBuilder
navigationName string
memberInfo MemberInfo

Returns

string

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 IConventionEntityTypeBuilder
newPrimaryKey IConventionKey
previousPrimaryKey IConventionKey

Returns

IConventionKey

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

IConventionPropertyBuilder

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 IConventionPropertyBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionPropertyBuilder
newElementType IElementType
oldElementType IElementType

Returns

IElementType

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 IConventionPropertyBuilder
newFieldInfo FieldInfo
oldFieldInfo FieldInfo

Returns

FieldInfo

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 IConventionTypeBaseBuilder
property IConventionProperty

Returns

IConventionProperty

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

IConventionSkipNavigationBuilder

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 IConventionSkipNavigationBuilder
name string
annotation IConventionAnnotation
oldAnnotation IConventionAnnotation

Returns

IConventionAnnotation

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 IConventionSkipNavigationBuilder
foreignKey IConventionForeignKey
oldForeignKey IConventionForeignKey

Returns

IConventionForeignKey

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 IConventionSkipNavigationBuilder
inverse IConventionSkipNavigation
oldInverse IConventionSkipNavigation

Returns

IConventionSkipNavigation

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 IConventionEntityTypeBuilder
navigation IConventionSkipNavigation

Returns

IConventionSkipNavigation

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

IConventionTriggerBuilder

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 IConventionEntityTypeBuilder
trigger IConventionTrigger

Returns

IConventionTrigger

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 IConventionModelBuilder
name string
type Type

Returns

string

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