Table of Contents

Class ForeignKey

Namespace
Microsoft.EntityFrameworkCore.Metadata.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 ForeignKey : ConventionAnnotatable, IMutableForeignKey, IMutableAnnotatable, IConventionForeignKey, IConventionAnnotatable, IRuntimeForeignKey, IForeignKey, IReadOnlyForeignKey, IAnnotatable, IReadOnlyAnnotatable
Inheritance
ForeignKey
Implements
Inherited Members
Extension Methods

Constructors

ForeignKey(IReadOnlyList<Property>, Key, EntityType, EntityType, ConfigurationSource)

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 ForeignKey(IReadOnlyList<Property> dependentProperties, Key principalKey, EntityType dependentEntityType, EntityType principalEntityType, ConfigurationSource configurationSource)

Parameters

dependentProperties IReadOnlyList<Property>
principalKey Key
dependentEntityType EntityType
principalEntityType EntityType
configurationSource ConfigurationSource

Fields

DefaultDeleteBehavior

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 const DeleteBehavior DefaultDeleteBehavior = 0

Field Value

DeleteBehavior

LongestFkChainAllowedLength

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 static readonly int LongestFkChainAllowedLength

Field Value

int

Properties

Builder

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 InternalForeignKeyBuilder Builder { get; }

Property Value

InternalForeignKeyBuilder

DebugView

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 DebugView DebugView { get; }

Property Value

DebugView

DeclaringEntityType

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 EntityType DeclaringEntityType { get; }

Property Value

EntityType

DeleteBehavior

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 DeleteBehavior DeleteBehavior { get; set; }

Property Value

DeleteBehavior

DependentKeyValueFactory

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 IDependentKeyValueFactory DependentKeyValueFactory { get; set; }

Property Value

IDependentKeyValueFactory

DependentToPrincipal

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 Navigation? DependentToPrincipal { get; }

Property Value

Navigation

DependentsMapFactory

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 Func<IDependentsMap> DependentsMapFactory { get; set; }

Property Value

Func<IDependentsMap>

IsInModel

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 IsInModel { get; }

Property Value

bool

IsOwnership

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 IsOwnership { get; set; }

Property Value

bool

IsReadOnly

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 override bool IsReadOnly { get; }

Property Value

bool

IsRequired

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 IsRequired { get; set; }

Property Value

bool

IsRequiredDependent

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 IsRequiredDependent { get; set; }

Property Value

bool

IsUnique

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 IsUnique { get; set; }

Property Value

bool

PrincipalEntityType

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 EntityType PrincipalEntityType { get; }

Property Value

EntityType

PrincipalKey

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 Key PrincipalKey { get; }

Property Value

Key

PrincipalToDependent

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 Navigation? PrincipalToDependent { get; }

Property Value

Navigation

Properties

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<Property> Properties { get; }

Property Value

IReadOnlyList<Property>

ReferencingSkipNavigations

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 ISet<SkipNavigation>? ReferencingSkipNavigations { get; set; }

Property Value

ISet<SkipNavigation>

Methods

AreCompatible(EntityType, EntityType, MemberInfo?, MemberInfo?, IReadOnlyList<IReadOnlyProperty>?, IReadOnlyList<IReadOnlyProperty>?, bool?, 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 static bool AreCompatible(EntityType principalEntityType, EntityType dependentEntityType, MemberInfo? navigationToPrincipal, MemberInfo? navigationToDependent, IReadOnlyList<IReadOnlyProperty>? dependentProperties, IReadOnlyList<IReadOnlyProperty>? principalProperties, bool? unique, bool shouldThrow)

Parameters

principalEntityType EntityType
dependentEntityType EntityType
navigationToPrincipal MemberInfo
navigationToDependent MemberInfo
dependentProperties IReadOnlyList<IReadOnlyProperty>
principalProperties IReadOnlyList<IReadOnlyProperty>
unique bool?
shouldThrow bool

Returns

bool

AreCompatible(IReadOnlyList<IReadOnlyProperty>, IReadOnlyList<IReadOnlyProperty>, IReadOnlyEntityType, IReadOnlyEntityType, 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 static bool AreCompatible(IReadOnlyList<IReadOnlyProperty> principalProperties, IReadOnlyList<IReadOnlyProperty> dependentProperties, IReadOnlyEntityType principalEntityType, IReadOnlyEntityType dependentEntityType, bool shouldThrow)

Parameters

principalProperties IReadOnlyList<IReadOnlyProperty>
dependentProperties IReadOnlyList<IReadOnlyProperty>
principalEntityType IReadOnlyEntityType
dependentEntityType IReadOnlyEntityType
shouldThrow bool

Returns

bool

FindNavigationsFromInHierarchy(EntityType)

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 IEnumerable<Navigation> FindNavigationsFromInHierarchy(EntityType entityType)

Parameters

entityType EntityType

Returns

IEnumerable<Navigation>

FindNavigationsTo(EntityType)

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 IEnumerable<Navigation> FindNavigationsTo(EntityType entityType)

Parameters

entityType EntityType

Returns

IEnumerable<Navigation>

GetConfigurationSource()

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 ConfigurationSource GetConfigurationSource()

Returns

ConfigurationSource

GetDeleteBehaviorConfigurationSource()

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 ConfigurationSource? GetDeleteBehaviorConfigurationSource()

Returns

ConfigurationSource?

GetDependentToPrincipalConfigurationSource()

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 ConfigurationSource? GetDependentToPrincipalConfigurationSource()

Returns

ConfigurationSource?

GetIsOwnershipConfigurationSource()

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 ConfigurationSource? GetIsOwnershipConfigurationSource()

Returns

ConfigurationSource?

GetIsRequiredConfigurationSource()

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 ConfigurationSource? GetIsRequiredConfigurationSource()

Returns

ConfigurationSource?

GetIsRequiredDependentConfigurationSource()

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 ConfigurationSource? GetIsRequiredDependentConfigurationSource()

Returns

ConfigurationSource?

GetIsUniqueConfigurationSource()

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 ConfigurationSource? GetIsUniqueConfigurationSource()

Returns

ConfigurationSource?

GetPrincipalEndConfigurationSource()

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 ConfigurationSource? GetPrincipalEndConfigurationSource()

Returns

ConfigurationSource?

GetPrincipalKeyConfigurationSource()

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 ConfigurationSource? GetPrincipalKeyConfigurationSource()

Returns

ConfigurationSource?

GetPrincipalToDependentConfigurationSource()

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 ConfigurationSource? GetPrincipalToDependentConfigurationSource()

Returns

ConfigurationSource?

GetPropertiesConfigurationSource()

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 ConfigurationSource? GetPropertiesConfigurationSource()

Returns

ConfigurationSource?

GetReferencingSkipNavigations()

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 IEnumerable<SkipNavigation> GetReferencingSkipNavigations()

Returns

IEnumerable<SkipNavigation>

OnAnnotationSet(string, IConventionAnnotation?, IConventionAnnotation?)

Runs the conventions when an annotation was set or removed.

protected override IConventionAnnotation? OnAnnotationSet(string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)

Parameters

name string

The key of the set annotation.

annotation IConventionAnnotation

The annotation set.

oldAnnotation IConventionAnnotation

The old annotation.

Returns

IConventionAnnotation

The annotation that was set.

ResolveOtherEntityType(EntityType)

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 EntityType ResolveOtherEntityType(EntityType entityType)

Parameters

entityType EntityType

Returns

EntityType

SetDeleteBehavior(DeleteBehavior?, ConfigurationSource)

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 DeleteBehavior? SetDeleteBehavior(DeleteBehavior? deleteBehavior, ConfigurationSource configurationSource)

Parameters

deleteBehavior DeleteBehavior?
configurationSource ConfigurationSource

Returns

DeleteBehavior?

SetDependentToPrincipal(MemberIdentity?, ConfigurationSource)

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 Navigation? SetDependentToPrincipal(MemberIdentity? property, ConfigurationSource configurationSource)

Parameters

property MemberIdentity?
configurationSource ConfigurationSource

Returns

Navigation

SetDependentToPrincipal(MemberInfo?, ConfigurationSource)

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 Navigation? SetDependentToPrincipal(MemberInfo? property, ConfigurationSource configurationSource)

Parameters

property MemberInfo
configurationSource ConfigurationSource

Returns

Navigation

SetDependentToPrincipal(string?, ConfigurationSource)

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 Navigation? SetDependentToPrincipal(string? name, ConfigurationSource configurationSource)

Parameters

name string
configurationSource ConfigurationSource

Returns

Navigation

SetIsOwnership(bool?, ConfigurationSource)

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? SetIsOwnership(bool? ownership, ConfigurationSource configurationSource)

Parameters

ownership bool?
configurationSource ConfigurationSource

Returns

bool?

SetIsRequired(bool?, ConfigurationSource)

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? SetIsRequired(bool? required, ConfigurationSource configurationSource)

Parameters

required bool?
configurationSource ConfigurationSource

Returns

bool?

SetIsRequiredConfigurationSource(ConfigurationSource?)

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 void SetIsRequiredConfigurationSource(ConfigurationSource? configurationSource)

Parameters

configurationSource ConfigurationSource?

SetIsRequiredDependent(bool?, ConfigurationSource)

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? SetIsRequiredDependent(bool? required, ConfigurationSource configurationSource)

Parameters

required bool?
configurationSource ConfigurationSource

Returns

bool?

SetIsRequiredDependentConfigurationSource(ConfigurationSource?)

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 void SetIsRequiredDependentConfigurationSource(ConfigurationSource? configurationSource)

Parameters

configurationSource ConfigurationSource?

SetIsUnique(bool?, ConfigurationSource)

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? SetIsUnique(bool? unique, ConfigurationSource configurationSource)

Parameters

unique bool?
configurationSource ConfigurationSource

Returns

bool?

SetPrincipalEndConfigurationSource(ConfigurationSource?)

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 void SetPrincipalEndConfigurationSource(ConfigurationSource? configurationSource)

Parameters

configurationSource ConfigurationSource?

SetPrincipalToDependent(MemberIdentity?, ConfigurationSource)

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 Navigation? SetPrincipalToDependent(MemberIdentity? property, ConfigurationSource configurationSource)

Parameters

property MemberIdentity?
configurationSource ConfigurationSource

Returns

Navigation

SetPrincipalToDependent(MemberInfo?, ConfigurationSource)

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 Navigation? SetPrincipalToDependent(MemberInfo? property, ConfigurationSource configurationSource)

Parameters

property MemberInfo
configurationSource ConfigurationSource

Returns

Navigation

SetPrincipalToDependent(string?, ConfigurationSource)

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 Navigation? SetPrincipalToDependent(string? name, ConfigurationSource configurationSource)

Parameters

name string
configurationSource ConfigurationSource

Returns

Navigation

SetProperties(IReadOnlyList<Property>, Key, ConfigurationSource?)

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<Property> SetProperties(IReadOnlyList<Property> properties, Key principalKey, ConfigurationSource? configurationSource)

Parameters

properties IReadOnlyList<Property>
principalKey Key
configurationSource ConfigurationSource?

Returns

IReadOnlyList<Property>

SetRemovedFromModel()

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 void SetRemovedFromModel()

ToString()

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 override string ToString()

Returns

string

UpdateConfigurationSource(ConfigurationSource)

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 void UpdateConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource

UpdateDeleteBehaviorConfigurationSource(ConfigurationSource)

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 void UpdateDeleteBehaviorConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource

UpdateDependentToPrincipalConfigurationSource(ConfigurationSource?)

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 void UpdateDependentToPrincipalConfigurationSource(ConfigurationSource? configurationSource)

Parameters

configurationSource ConfigurationSource?

UpdateIsOwnershipConfigurationSource(ConfigurationSource)

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 void UpdateIsOwnershipConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource

UpdatePrincipalEndConfigurationSource(ConfigurationSource)

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 void UpdatePrincipalEndConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource

UpdatePrincipalKeyConfigurationSource(ConfigurationSource)

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 void UpdatePrincipalKeyConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource

UpdatePrincipalToDependentConfigurationSource(ConfigurationSource?)

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 void UpdatePrincipalToDependentConfigurationSource(ConfigurationSource? configurationSource)

Parameters

configurationSource ConfigurationSource?

UpdatePropertiesConfigurationSource(ConfigurationSource)

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 void UpdatePropertiesConfigurationSource(ConfigurationSource configurationSource)

Parameters

configurationSource ConfigurationSource