ForeignKey ForeignKey Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class ForeignKey : ConventionalAnnotatable, IMutableForeignKey, IForeignKey, IMutableAnnotatable, IAnnotatable
Public Class ForeignKey
    Inherits ConventionalAnnotatable
    Implements IMutableForeignKey, IForeignKey, IMutableAnnotatable, IAnnotatable
Inheritance
System.ObjectSystem.Object
ForeignKeyForeignKey
Implements

Constructors

ForeignKey(IReadOnlyList, Key, EntityType, EntityType, ConfigurationSource) ForeignKey(IReadOnlyList(Of Property), Key, EntityType, EntityType, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public ForeignKey(IReadOnlyList<Property> dependentProperties, Key principalKey, EntityType dependentEntityType, EntityType principalEntityType, ConfigurationSource configurationSource)
Public Sub New(dependentProperties As IReadOnlyList(Of  Property), principalKey As Key, dependentEntityType As EntityType, principalEntityType As EntityType, configurationSource As ConfigurationSource)
Parameters
dependentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalKey
Key Key
dependentEntityType
EntityType EntityType
principalEntityType
EntityType EntityType

Properties

Builder Builder

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalRelationshipBuilder Builder { get; set; }
Public Overridable Property Builder As InternalRelationshipBuilder

DebugView DebugView

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual DebugView<ForeignKey> DebugView { get; }
Public Overridable ReadOnly Property DebugView As DebugView(Of ForeignKey)

DeclaringEntityType DeclaringEntityType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType DeclaringEntityType { get; }
Public Overridable ReadOnly Property DeclaringEntityType As EntityType

DeleteBehavior DeleteBehavior

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual DeleteBehavior DeleteBehavior { get; set; }
Public Overridable Property DeleteBehavior As DeleteBehavior

DependentKeyValueFactory DependentKeyValueFactory

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual object DependentKeyValueFactory { get; set; }
Public Overridable Property DependentKeyValueFactory As Object
Value
System.Object System.Object

DependentToPrincipal DependentToPrincipal

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation DependentToPrincipal { get; }
Public Overridable ReadOnly Property DependentToPrincipal As Navigation

DependentsMapFactory DependentsMapFactory

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Func<IDependentsMap> DependentsMapFactory { get; set; }
Public Overridable Property DependentsMapFactory As Func(Of IDependentsMap)
Value
System.Func<IDependentsMap> System.Func(Of IDependentsMap)

IsRequired IsRequired

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsRequired { get; set; }
Public Overridable Property IsRequired As Boolean
Value
System.Boolean System.Boolean

IsUnique IsUnique

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsUnique { get; set; }
Public Overridable Property IsUnique As Boolean
Value
System.Boolean System.Boolean

Item[String] Item(String)

Inherited from Annotatable

PrincipalEntityType PrincipalEntityType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType PrincipalEntityType { get; }
Public Overridable ReadOnly Property PrincipalEntityType As EntityType

PrincipalKey PrincipalKey

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Key PrincipalKey { get; }
Public Overridable ReadOnly Property PrincipalKey As Key
Value
Key Key

PrincipalToDependent PrincipalToDependent

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation PrincipalToDependent { get; }
Public Overridable ReadOnly Property PrincipalToDependent As Navigation

Properties Properties

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<Property> Properties { get; }
Public Overridable ReadOnly Property Properties As IReadOnlyList(Of  Property)
Value
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Inherited from Annotatable

AddAnnotation(String, Object) AddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

AddAnnotation(String, Object, ConfigurationSource) AddAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

AreCompatible(EntityType, EntityType, PropertyInfo, PropertyInfo, IReadOnlyList, IReadOnlyList, Nullable, Nullable, Boolean) AreCompatible(EntityType, EntityType, PropertyInfo, PropertyInfo, IReadOnlyList(Of Property), IReadOnlyList(Of Property), Nullable(Of Boolean), Nullable(Of Boolean), Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool AreCompatible(EntityType principalEntityType, EntityType dependentEntityType, PropertyInfo navigationToPrincipal, PropertyInfo navigationToDependent, IReadOnlyList<Property> dependentProperties, IReadOnlyList<Property> principalProperties, bool ? unique, bool ? required, bool shouldThrow)
Public Shared Function AreCompatible(principalEntityType As EntityType, dependentEntityType As EntityType, navigationToPrincipal As PropertyInfo, navigationToDependent As PropertyInfo, dependentProperties As IReadOnlyList(Of  Property), principalProperties As IReadOnlyList(Of  Property), unique As Boolean?, required As Boolean?, shouldThrow As Boolean) As Boolean
Parameters
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
navigationToPrincipal
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
navigationToDependent
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
dependentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
unique
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
required
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
shouldThrow
System.Boolean System.Boolean
Returns
System.Boolean System.Boolean

AreCompatible(IReadOnlyList, IReadOnlyList, EntityType, EntityType, Boolean) AreCompatible(IReadOnlyList(Of Property), IReadOnlyList(Of Property), EntityType, EntityType, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool AreCompatible(IReadOnlyList<Property> principalProperties, IReadOnlyList<Property> dependentProperties, EntityType principalEntityType, EntityType dependentEntityType, bool shouldThrow)
Public Shared Function AreCompatible(principalProperties As IReadOnlyList(Of  Property), dependentProperties As IReadOnlyList(Of  Property), principalEntityType As EntityType, dependentEntityType As EntityType, shouldThrow As Boolean) As Boolean
Parameters
principalProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
dependentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
shouldThrow
System.Boolean System.Boolean
Returns
System.Boolean System.Boolean

CanPropertiesBeRequired(IReadOnlyList, Nullable, EntityType, Boolean) CanPropertiesBeRequired(IReadOnlyList(Of Property), Nullable(Of Boolean), EntityType, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool CanPropertiesBeRequired(IReadOnlyList<Property> properties, bool ? required, EntityType entityType, bool shouldThrow)
Public Shared Function CanPropertiesBeRequired(properties As IReadOnlyList(Of  Property), required As Boolean?, entityType As EntityType, shouldThrow As Boolean) As Boolean
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
required
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
entityType
EntityType EntityType
shouldThrow
System.Boolean System.Boolean
Returns
System.Boolean System.Boolean

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

Inherited from ConventionalAnnotatable

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindAnnotation(String) FindAnnotation(String)

Inherited from ConventionalAnnotatable

FindNavigationsFrom(EntityType) FindNavigationsFrom(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<Navigation> FindNavigationsFrom(EntityType entityType)
Public Overridable Function FindNavigationsFrom(entityType As EntityType) As IEnumerable(Of Navigation)
Parameters
entityType
EntityType EntityType
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

FindNavigationsFromInHierarchy(EntityType) FindNavigationsFromInHierarchy(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<Navigation> FindNavigationsFromInHierarchy(EntityType entityType)
Public Overridable Function FindNavigationsFromInHierarchy(entityType As EntityType) As IEnumerable(Of Navigation)
Parameters
entityType
EntityType EntityType
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

FindNavigationsTo(EntityType) FindNavigationsTo(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<Navigation> FindNavigationsTo(EntityType entityType)
Public Overridable Function FindNavigationsTo(entityType As EntityType) As IEnumerable(Of Navigation)
Parameters
entityType
EntityType EntityType
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

FindNavigationsToInHierarchy(EntityType) FindNavigationsToInHierarchy(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<Navigation> FindNavigationsToInHierarchy(EntityType entityType)
Public Overridable Function FindNavigationsToInHierarchy(entityType As EntityType) As IEnumerable(Of Navigation)
Parameters
entityType
EntityType EntityType
Returns
System.Collections.Generic.IEnumerable<Navigation> System.Collections.Generic.IEnumerable(Of Navigation)

GetAnnotations() GetAnnotations()

Inherited from ConventionalAnnotatable

GetConfigurationSource() GetConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource GetConfigurationSource()
Public Overridable Function GetConfigurationSource As ConfigurationSource
Returns

GetDeleteBehaviorConfigurationSource() GetDeleteBehaviorConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetDeleteBehaviorConfigurationSource()
Public Overridable Function GetDeleteBehaviorConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetDependentToPrincipalConfigurationSource() GetDependentToPrincipalConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetDependentToPrincipalConfigurationSource()
Public Overridable Function GetDependentToPrincipalConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetForeignKeyPropertiesConfigurationSource() GetForeignKeyPropertiesConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetForeignKeyPropertiesConfigurationSource()
Public Overridable Function GetForeignKeyPropertiesConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetHashCode() GetHashCode()

Inherited from System.Object

GetIsRequiredConfigurationSource() GetIsRequiredConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetIsRequiredConfigurationSource()
Public Overridable Function GetIsRequiredConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetIsUniqueConfigurationSource() GetIsUniqueConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetIsUniqueConfigurationSource()
Public Overridable Function GetIsUniqueConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

GetPrincipalEndConfigurationSource() GetPrincipalEndConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetPrincipalEndConfigurationSource()
Public Overridable Function GetPrincipalEndConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetPrincipalKeyConfigurationSource() GetPrincipalKeyConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetPrincipalKeyConfigurationSource()
Public Overridable Function GetPrincipalKeyConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetPrincipalToDependentConfigurationSource() GetPrincipalToDependentConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetPrincipalToDependentConfigurationSource()
Public Overridable Function GetPrincipalToDependentConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetType() GetType()

Inherited from System.Object

HasDependentToPrincipal(PropertyInfo, ConfigurationSource, Boolean) HasDependentToPrincipal(PropertyInfo, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation HasDependentToPrincipal(PropertyInfo property, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function HasDependentToPrincipal(property As PropertyInfo, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As Navigation
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
runConventions
System.Boolean System.Boolean
Returns

HasDependentToPrincipal(String, ConfigurationSource, Boolean) HasDependentToPrincipal(String, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation HasDependentToPrincipal(string name, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function HasDependentToPrincipal(name As String, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As Navigation
Parameters
name
System.String System.String
runConventions
System.Boolean System.Boolean
Returns

HasPrincipalToDependent(PropertyInfo, ConfigurationSource, Boolean) HasPrincipalToDependent(PropertyInfo, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation HasPrincipalToDependent(PropertyInfo property, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function HasPrincipalToDependent(property As PropertyInfo, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As Navigation
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
runConventions
System.Boolean System.Boolean
Returns

HasPrincipalToDependent(String, ConfigurationSource, Boolean) HasPrincipalToDependent(String, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual Navigation HasPrincipalToDependent(string name, ConfigurationSource configurationSource = ConfigurationSource.Explicit, bool runConventions = true)
Public Overridable Function HasPrincipalToDependent(name As String, configurationSource As ConfigurationSource = ConfigurationSource.Explicit, runConventions As Boolean = True) As Navigation
Parameters
name
System.String System.String
runConventions
System.Boolean System.Boolean
Returns

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Inherited from Annotatable

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

Inherited from ConventionalAnnotatable

ResolveEntityTypeInHierarchy(EntityType) ResolveEntityTypeInHierarchy(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType ResolveEntityTypeInHierarchy(EntityType entityType)
Public Overridable Function ResolveEntityTypeInHierarchy(entityType As EntityType) As EntityType
Parameters
entityType
EntityType EntityType
Returns

ResolveOtherEntityType(EntityType) ResolveOtherEntityType(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType ResolveOtherEntityType(EntityType entityType)
Public Overridable Function ResolveOtherEntityType(entityType As EntityType) As EntityType
Parameters
entityType
EntityType EntityType
Returns

ResolveOtherEntityTypeInHierarchy(EntityType) ResolveOtherEntityTypeInHierarchy(EntityType)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType ResolveOtherEntityTypeInHierarchy(EntityType entityType)
Public Overridable Function ResolveOtherEntityTypeInHierarchy(entityType As EntityType) As EntityType
Parameters
entityType
EntityType EntityType
Returns

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Inherited from Annotatable

SetAnnotation(String, Object, ConfigurationSource) SetAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

SetDeleteBehavior(DeleteBehavior, ConfigurationSource) SetDeleteBehavior(DeleteBehavior, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetDeleteBehavior(DeleteBehavior deleteBehavior, ConfigurationSource configurationSource)
Public Overridable Sub SetDeleteBehavior(deleteBehavior As DeleteBehavior, configurationSource As ConfigurationSource)
Parameters

SetIsRequired(Boolean, ConfigurationSource) SetIsRequired(Boolean, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetIsRequired(bool required, ConfigurationSource configurationSource)
Public Overridable Sub SetIsRequired(required As Boolean, configurationSource As ConfigurationSource)
Parameters
required
System.Boolean System.Boolean

SetIsRequiredConfigurationSource(Nullable) SetIsRequiredConfigurationSource(Nullable(Of ConfigurationSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetIsRequiredConfigurationSource(ConfigurationSource? configurationSource)
Public Overridable Sub SetIsRequiredConfigurationSource(configurationSource As ConfigurationSource?)
Parameters
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

SetIsUnique(Boolean, ConfigurationSource, Boolean) SetIsUnique(Boolean, ConfigurationSource, Boolean)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ForeignKey SetIsUnique(bool unique, ConfigurationSource configurationSource, bool runConventions = true)
Public Overridable Function SetIsUnique(unique As Boolean, configurationSource As ConfigurationSource, runConventions As Boolean = True) As ForeignKey
Parameters
unique
System.Boolean System.Boolean
runConventions
System.Boolean System.Boolean
Returns

SetPrincipalEndConfigurationSource(Nullable) SetPrincipalEndConfigurationSource(Nullable(Of ConfigurationSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetPrincipalEndConfigurationSource(ConfigurationSource? configurationSource)
Public Overridable Sub SetPrincipalEndConfigurationSource(configurationSource As ConfigurationSource?)
Parameters
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

ToString() ToString()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override string ToString()
Public Overrides Function ToString As String
Returns
System.String System.String
Overrides
System.Object.ToString()System.Object.ToString()

UpdateConfigurationSource(ConfigurationSource) UpdateConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdateDeleteBehaviorConfigurationSource(ConfigurationSource) UpdateDeleteBehaviorConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateDeleteBehaviorConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateDeleteBehaviorConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdateDependentToPrincipalConfigurationSource(Nullable) UpdateDependentToPrincipalConfigurationSource(Nullable(Of ConfigurationSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateDependentToPrincipalConfigurationSource(ConfigurationSource? configurationSource)
Public Overridable Sub UpdateDependentToPrincipalConfigurationSource(configurationSource As ConfigurationSource?)
Parameters
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

UpdateForeignKeyPropertiesConfigurationSource(ConfigurationSource) UpdateForeignKeyPropertiesConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateForeignKeyPropertiesConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateForeignKeyPropertiesConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdateIsRequiredConfigurationSource(ConfigurationSource) UpdateIsRequiredConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateIsRequiredConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateIsRequiredConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdateIsUniqueConfigurationSource(ConfigurationSource) UpdateIsUniqueConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateIsUniqueConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateIsUniqueConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdatePrincipalEndConfigurationSource(ConfigurationSource) UpdatePrincipalEndConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdatePrincipalEndConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdatePrincipalEndConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdatePrincipalKeyConfigurationSource(ConfigurationSource) UpdatePrincipalKeyConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdatePrincipalKeyConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdatePrincipalKeyConfigurationSource(configurationSource As ConfigurationSource)
Parameters

UpdatePrincipalToDependentConfigurationSource(Nullable) UpdatePrincipalToDependentConfigurationSource(Nullable(Of ConfigurationSource))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdatePrincipalToDependentConfigurationSource(ConfigurationSource? configurationSource)
Public Overridable Sub UpdatePrincipalToDependentConfigurationSource(configurationSource As ConfigurationSource?)
Parameters
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Inherited from Annotatable

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Inherited from Annotatable

IForeignKey.DeclaringEntityType Microsoft.EntityFrameworkCore.Metadata.IForeignKey.DeclaringEntityType

IEntityType IForeignKey.DeclaringEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.DeclaringEntityType As IEntityType Implements IForeignKey.DeclaringEntityType
Returns

IForeignKey.DependentToPrincipal Microsoft.EntityFrameworkCore.Metadata.IForeignKey.DependentToPrincipal

INavigation IForeignKey.DependentToPrincipal { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.DependentToPrincipal As INavigation Implements IForeignKey.DependentToPrincipal
Returns

IForeignKey.PrincipalEntityType Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalEntityType

IEntityType IForeignKey.PrincipalEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalEntityType As IEntityType Implements IForeignKey.PrincipalEntityType
Returns

IForeignKey.PrincipalKey Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalKey

IKey IForeignKey.PrincipalKey { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalKey As IKey Implements IForeignKey.PrincipalKey
Returns

IForeignKey.PrincipalToDependent Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalToDependent

INavigation IForeignKey.PrincipalToDependent { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.PrincipalToDependent As INavigation Implements IForeignKey.PrincipalToDependent
Returns

IForeignKey.Properties Microsoft.EntityFrameworkCore.Metadata.IForeignKey.Properties

IReadOnlyList<IProperty> IForeignKey.Properties { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IForeignKey.Properties As IReadOnlyList(Of IProperty) Implements IForeignKey.Properties
Returns
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)

IMutableForeignKey.DeclaringEntityType Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.DeclaringEntityType

IMutableEntityType IMutableForeignKey.DeclaringEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.DeclaringEntityType As IMutableEntityType Implements IMutableForeignKey.DeclaringEntityType
Returns

IMutableForeignKey.DependentToPrincipal Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.DependentToPrincipal

IMutableNavigation IMutableForeignKey.DependentToPrincipal { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.DependentToPrincipal As IMutableNavigation Implements IMutableForeignKey.DependentToPrincipal
Returns

IMutableForeignKey.HasDependentToPrincipal(PropertyInfo) Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasDependentToPrincipal(PropertyInfo)

IMutableNavigation IMutableForeignKey.HasDependentToPrincipal(PropertyInfo property)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasDependentToPrincipal(property As PropertyInfo) As IMutableNavigation Implements IMutableForeignKey.HasDependentToPrincipal
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

IMutableForeignKey.HasDependentToPrincipal(String) Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasDependentToPrincipal(String)

IMutableNavigation IMutableForeignKey.HasDependentToPrincipal(string name)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasDependentToPrincipal(name As String) As IMutableNavigation Implements IMutableForeignKey.HasDependentToPrincipal
Parameters
name
System.String System.String
Returns

IMutableForeignKey.HasPrincipalToDependent(PropertyInfo) Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasPrincipalToDependent(PropertyInfo)

IMutableNavigation IMutableForeignKey.HasPrincipalToDependent(PropertyInfo property)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasPrincipalToDependent(property As PropertyInfo) As IMutableNavigation Implements IMutableForeignKey.HasPrincipalToDependent
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

IMutableForeignKey.HasPrincipalToDependent(String) Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasPrincipalToDependent(String)

IMutableNavigation IMutableForeignKey.HasPrincipalToDependent(string name)
Function Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.HasPrincipalToDependent(name As String) As IMutableNavigation Implements IMutableForeignKey.HasPrincipalToDependent
Parameters
name
System.String System.String
Returns

IMutableForeignKey.PrincipalEntityType Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalEntityType

IMutableEntityType IMutableForeignKey.PrincipalEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalEntityType As IMutableEntityType Implements IMutableForeignKey.PrincipalEntityType
Returns

IMutableForeignKey.PrincipalKey Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalKey

IMutableKey IMutableForeignKey.PrincipalKey { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalKey As IMutableKey Implements IMutableForeignKey.PrincipalKey
Returns

IMutableForeignKey.PrincipalToDependent Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalToDependent

IMutableNavigation IMutableForeignKey.PrincipalToDependent { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.PrincipalToDependent As IMutableNavigation Implements IMutableForeignKey.PrincipalToDependent
Returns

IMutableForeignKey.Properties Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.Properties

IReadOnlyList<IMutableProperty> IMutableForeignKey.Properties { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey.Properties As IReadOnlyList(Of IMutableProperty) Implements IMutableForeignKey.Properties
Returns
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)