ForeignKey ForeignKey Class

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.

Syntax

Declaration

public class ForeignKey : ConventionalAnnotatable, IMutableForeignKey, IForeignKey, IMutableAnnotatable, IAnnotatablePublic Class ForeignKey
    Inherits ConventionalAnnotatable
    Implements IMutableForeignKey, IForeignKey, IMutableAnnotatable, IAnnotatable

Inheritance Hierarchy

Inherited Members

GetAnnotations(),
GetAnnotations(),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object, ConfigurationSource),
AddAnnotation(String, Object),
AddAnnotation(String, Object),
SetAnnotation(String, Object, ConfigurationSource),
SetAnnotation(String, Object, ConfigurationSource),
GetOrAddAnnotation(String, Object),
GetOrAddAnnotation(String, Object),
FindAnnotation(String),
FindAnnotation(String),
RemoveAnnotation(String),
RemoveAnnotation(String),
CreateAnnotation(String, Object),
CreateAnnotation(String, Object),
AddAnnotation(String, Annotation),
AddAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
SetAnnotation(String, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
OnAnnotationSet(String, Annotation, Annotation),
Item[String],
Item(String),
IAnnotatable.GetAnnotations(),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations(),
IAnnotatable.FindAnnotation(String),
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

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.

Properties summary

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Methods summary

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Explicit Interface Implementations summary

Constructors

  • ForeignKey(IReadOnlyList<Property>, 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

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

    Property Value

  • 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)

    Property Value

  • 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

    Property Value

  • 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

    Property Value

  • 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

    Property Value

    • System.Object
      System.Object
  • 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)

    Property Value

  • 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

    Property Value

  • 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

    Property 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

    Property Value

    • System.Boolean
      System.Boolean
  • 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

    Property Value

  • 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

    Property Value

  • 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

    Property Value

  • 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)

    Property Value

    • System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)

Methods

  • AreCompatible(EntityType, EntityType, PropertyInfo, PropertyInfo, IReadOnlyList<Property>, IReadOnlyList<Property>, Nullable<Boolean>, Nullable<Boolean>, 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
    • dependentEntityType
    • navigationToPrincipal
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • navigationToDependent
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • dependentProperties
      System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • principalProperties
      System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • unique
      System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
    • required
      System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
    • shouldThrow
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • AreCompatible(IReadOnlyList<Property>, IReadOnlyList<Property>, 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<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • dependentProperties
      System.Collections.Generic.IReadOnlyList<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • principalEntityType
    • dependentEntityType
    • shouldThrow
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • CanPropertiesBeRequired(IReadOnlyList<Property>, Nullable<Boolean>, 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<T><Property>
      System.Collections.Generic.IReadOnlyList<T>(Of Property)
    • required
      System.Nullable<T><System.Boolean>
      System.Nullable<T>(Of System.Boolean)
    • entityType
    • shouldThrow
      System.Boolean
      System.Boolean

    Returns

    • System.Boolean
      System.Boolean
  • 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

    Returns

    • System.Collections.Generic.IEnumerable<T><Navigation>
      System.Collections.Generic.IEnumerable<T>(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

    Returns

    • System.Collections.Generic.IEnumerable<T><Navigation>
      System.Collections.Generic.IEnumerable<T>(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

    Returns

    • System.Collections.Generic.IEnumerable<T><Navigation>
      System.Collections.Generic.IEnumerable<T>(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

    Returns

    • System.Collections.Generic.IEnumerable<T><Navigation>
      System.Collections.Generic.IEnumerable<T>(Of Navigation)
  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

    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

    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

    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

    Returns

  • 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

    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

    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

    Returns

  • 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

  • SetIsRequiredConfigurationSource(Nullable<ConfigurationSource>)
    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

  • 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

    Returns

  • SetPrincipalEndConfigurationSource(Nullable<ConfigurationSource>)
    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

  • 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
  • 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<ConfigurationSource>)
    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

  • 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<ConfigurationSource>)
    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

Explicit Interface Implementations

  • 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<T><IProperty>
      System.Collections.Generic.IReadOnlyList<T>(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

Details

Assembly

Microsoft.EntityFrameworkCore.dll