Internal​Relationship​Builder Internal​Relationship​Builder 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 InternalRelationshipBuilder : InternalMetadataItemBuilder<ForeignKey>Public Class InternalRelationshipBuilder
    Inherits InternalMetadataItemBuilder(Of ForeignKey)
Inheritance

Inherited Members

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataItemBuilder{Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey}

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataItemBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey>.ModelBuilderMicrosoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataItemBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey>.ModelBuilder

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder{Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey}

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey>.MetadataMicrosoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.ForeignKey>.Metadata

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

InternalRelationshipBuilder(ForeignKey, InternalModelBuilder) InternalRelationshipBuilder(ForeignKey, InternalModelBuilder)

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 InternalRelationshipBuilder(ForeignKey foreignKey, InternalModelBuilder modelBuilder)Public Sub New(foreignKey As ForeignKey, modelBuilder As InternalModelBuilder)
Parameters
foreignKey
ForeignKey ForeignKey

Methods

AreCompatible(EntityType, EntityType, PropertyInfo, PropertyInfo, IReadOnlyList<Property>, IReadOnlyList<Property>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConfigurationSource>) AreCompatible(EntityType, EntityType, PropertyInfo, PropertyInfo, IReadOnlyList(Of Property), IReadOnlyList(Of Property), Nullable(Of Boolean), Nullable(Of Boolean), 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 static bool AreCompatible(EntityType principalEntityType, EntityType dependentEntityType, PropertyInfo navigationToPrincipal, PropertyInfo navigationToDependent, IReadOnlyList<Property> dependentProperties, IReadOnlyList<Property> principalProperties, bool ? isUnique, bool ? isRequired, ConfigurationSource? configurationSource)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), isUnique As Boolean?, isRequired As Boolean?, configurationSource As ConfigurationSource?) 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)
isUnique
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
isRequired
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
Returns
System.Boolean System.Boolean

Attach(ConfigurationSource) Attach(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 InternalRelationshipBuilder Attach(ConfigurationSource configurationSource)Public Overridable Function Attach(configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
Returns

CanInvert(IReadOnlyList<Property>, ConfigurationSource) CanInvert(IReadOnlyList(Of Property), 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 bool CanInvert(IReadOnlyList<Property> newForeignKeyProperties, ConfigurationSource configurationSource)Public Overridable Function CanInvert(newForeignKeyProperties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource) As Boolean
Parameters
newForeignKeyProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns
System.Boolean System.Boolean

CanSetDeleteBehavior(DeleteBehavior, Nullable<ConfigurationSource>) CanSetDeleteBehavior(DeleteBehavior, 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 bool CanSetDeleteBehavior(DeleteBehavior deleteBehavior, ConfigurationSource? configurationSource)Public Overridable Function CanSetDeleteBehavior(deleteBehavior As DeleteBehavior, configurationSource As ConfigurationSource?) As Boolean
Parameters
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
Returns
System.Boolean System.Boolean

CanSetNavigation(PropertyInfo, Boolean, Nullable<ConfigurationSource>, Boolean) CanSetNavigation(PropertyInfo, Boolean, Nullable(Of 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 bool CanSetNavigation(PropertyInfo navigationProperty, bool pointsToPrincipal, ConfigurationSource? configurationSource, bool overrideSameSource = true)Public Overridable Function CanSetNavigation(navigationProperty As PropertyInfo, pointsToPrincipal As Boolean, configurationSource As ConfigurationSource?, overrideSameSource As Boolean = True) As Boolean
Parameters
navigationProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
pointsToPrincipal
System.Boolean System.Boolean
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
overrideSameSource
System.Boolean System.Boolean
Returns
System.Boolean System.Boolean

CanSetNavigation(String, Boolean, Nullable<ConfigurationSource>, Boolean) CanSetNavigation(String, Boolean, Nullable(Of 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 bool CanSetNavigation(string navigationName, bool pointsToPrincipal, ConfigurationSource? configurationSource, bool overrideSameSource = true)Public Overridable Function CanSetNavigation(navigationName As String, pointsToPrincipal As Boolean, configurationSource As ConfigurationSource?, overrideSameSource As Boolean = True) As Boolean
Parameters
navigationName
System.String System.String
pointsToPrincipal
System.Boolean System.Boolean
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
overrideSameSource
System.Boolean System.Boolean
Returns
System.Boolean System.Boolean

CanSetRequired(Boolean, Nullable<ConfigurationSource>) CanSetRequired(Boolean, 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 bool CanSetRequired(bool isRequired, ConfigurationSource? configurationSource)Public Overridable Function CanSetRequired(isRequired As Boolean, configurationSource As ConfigurationSource?) As Boolean
Parameters
isRequired
System.Boolean System.Boolean
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
Returns
System.Boolean System.Boolean

DeleteBehavior(DeleteBehavior, ConfigurationSource) DeleteBehavior(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 InternalRelationshipBuilder DeleteBehavior(DeleteBehavior deleteBehavior, ConfigurationSource configurationSource)Public Overridable Function DeleteBehavior(deleteBehavior As DeleteBehavior, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
Returns

DependentEntityType(EntityType, ConfigurationSource) DependentEntityType(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 virtual InternalRelationshipBuilder DependentEntityType(EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function DependentEntityType(dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
dependentEntityType
EntityType EntityType
Returns

DependentEntityType(InternalEntityTypeBuilder, ConfigurationSource) DependentEntityType(InternalEntityTypeBuilder, 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 InternalRelationshipBuilder DependentEntityType(InternalEntityTypeBuilder dependentEntityTypeBuilder, ConfigurationSource configurationSource)Public Overridable Function DependentEntityType(dependentEntityTypeBuilder As InternalEntityTypeBuilder, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
Returns

DependentEntityType(String, ConfigurationSource) DependentEntityType(String, 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 InternalRelationshipBuilder DependentEntityType(string dependentTypeName, ConfigurationSource configurationSource)Public Overridable Function DependentEntityType(dependentTypeName As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
dependentTypeName
System.String System.String
Returns

DependentEntityType(Type, ConfigurationSource) DependentEntityType(Type, 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 InternalRelationshipBuilder DependentEntityType(Type dependentType, ConfigurationSource configurationSource)Public Overridable Function DependentEntityType(dependentType As Type, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
dependentType
System.Type System.Type
Returns

DependentToPrincipal(PropertyInfo, ConfigurationSource) DependentToPrincipal(PropertyInfo, 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 InternalRelationshipBuilder DependentToPrincipal(PropertyInfo property, ConfigurationSource configurationSource)Public Overridable Function DependentToPrincipal(property As PropertyInfo, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

DependentToPrincipal(String, ConfigurationSource) DependentToPrincipal(String, 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 InternalRelationshipBuilder DependentToPrincipal(string name, ConfigurationSource configurationSource)Public Overridable Function DependentToPrincipal(name As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
name
System.String System.String
Returns

FindCurrentRelationshipBuilder(EntityType, EntityType, Nullable<PropertyIdentity>, Nullable<PropertyIdentity>, IReadOnlyList<Property>, IReadOnlyList<Property>) FindCurrentRelationshipBuilder(EntityType, EntityType, Nullable(Of PropertyIdentity), Nullable(Of PropertyIdentity), IReadOnlyList(Of Property), IReadOnlyList(Of Property))

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 InternalRelationshipBuilder FindCurrentRelationshipBuilder(EntityType principalEntityType, EntityType dependentEntityType, PropertyIdentity? navigationToPrincipal, PropertyIdentity? navigationToDependent, IReadOnlyList<Property> dependentProperties, IReadOnlyList<Property> principalProperties)Public Shared Function FindCurrentRelationshipBuilder(principalEntityType As EntityType, dependentEntityType As EntityType, navigationToPrincipal As PropertyIdentity?, navigationToDependent As PropertyIdentity?, dependentProperties As IReadOnlyList(Of  Property), principalProperties As IReadOnlyList(Of  Property)) As InternalRelationshipBuilder
Parameters
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
navigationToPrincipal
System.Nullable<PropertyIdentity> System.Nullable(Of PropertyIdentity)
navigationToDependent
System.Nullable<PropertyIdentity> System.Nullable(Of PropertyIdentity)
dependentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

HasForeignKey(IReadOnlyList<Property>, ConfigurationSource) HasForeignKey(IReadOnlyList(Of Property), 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 InternalRelationshipBuilder HasForeignKey(IReadOnlyList<Property> properties, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

HasForeignKey(IReadOnlyList<Property>, EntityType, ConfigurationSource) HasForeignKey(IReadOnlyList(Of Property), 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 virtual InternalRelationshipBuilder HasForeignKey(IReadOnlyList<Property> properties, EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of  Property), dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
dependentEntityType
EntityType EntityType
Returns

HasForeignKey(IReadOnlyList<Property>, EntityType, Nullable<ConfigurationSource>, Boolean) HasForeignKey(IReadOnlyList(Of Property), EntityType, Nullable(Of 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 InternalRelationshipBuilder HasForeignKey(IReadOnlyList<Property> properties, EntityType dependentEntityType, ConfigurationSource? configurationSource, bool runConventions)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of  Property), dependentEntityType As EntityType, configurationSource As ConfigurationSource?, runConventions As Boolean) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
dependentEntityType
EntityType EntityType
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
runConventions
System.Boolean System.Boolean
Returns

HasForeignKey(IReadOnlyList<Property>, Nullable<ConfigurationSource>, Boolean) HasForeignKey(IReadOnlyList(Of Property), Nullable(Of 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 InternalRelationshipBuilder HasForeignKey(IReadOnlyList<Property> properties, ConfigurationSource? configurationSource, bool runConventions)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource?, runConventions As Boolean) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
runConventions
System.Boolean System.Boolean
Returns

HasForeignKey(IReadOnlyList<MemberInfo>, ConfigurationSource) HasForeignKey(IReadOnlyList(Of MemberInfo), 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 InternalRelationshipBuilder HasForeignKey(IReadOnlyList<MemberInfo> properties, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of MemberInfo), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> System.Collections.Generic.IReadOnlyList(Of System.Reflection.MemberInfo)
Returns

HasForeignKey(IReadOnlyList<MemberInfo>, EntityType, ConfigurationSource) HasForeignKey(IReadOnlyList(Of MemberInfo), 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 virtual InternalRelationshipBuilder HasForeignKey(IReadOnlyList<MemberInfo> properties, EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(properties As IReadOnlyList(Of MemberInfo), dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<System.Reflection.MemberInfo> System.Collections.Generic.IReadOnlyList(Of System.Reflection.MemberInfo)
dependentEntityType
EntityType EntityType
Returns

HasForeignKey(IReadOnlyList<String>, ConfigurationSource) HasForeignKey(IReadOnlyList(Of String), 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 InternalRelationshipBuilder HasForeignKey(IReadOnlyList<string> propertyNames, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(propertyNames As IReadOnlyList(Of String), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
propertyNames
System.Collections.Generic.IReadOnlyList<System.String> System.Collections.Generic.IReadOnlyList(Of System.String)
Returns

HasForeignKey(IReadOnlyList<String>, EntityType, ConfigurationSource) HasForeignKey(IReadOnlyList(Of String), 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 virtual InternalRelationshipBuilder HasForeignKey(IReadOnlyList<string> propertyNames, EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function HasForeignKey(propertyNames As IReadOnlyList(Of String), dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
propertyNames
System.Collections.Generic.IReadOnlyList<System.String> System.Collections.Generic.IReadOnlyList(Of System.String)
dependentEntityType
EntityType EntityType
Returns

HasPrincipalKey(IReadOnlyList<Property>, ConfigurationSource) HasPrincipalKey(IReadOnlyList(Of Property), 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 InternalRelationshipBuilder HasPrincipalKey(IReadOnlyList<Property> properties, ConfigurationSource configurationSource)Public Overridable Function HasPrincipalKey(properties As IReadOnlyList(Of  Property), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
Returns

HasPrincipalKey(IReadOnlyList<PropertyInfo>, ConfigurationSource) HasPrincipalKey(IReadOnlyList(Of PropertyInfo), 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 InternalRelationshipBuilder HasPrincipalKey(IReadOnlyList<PropertyInfo> properties, ConfigurationSource configurationSource)Public Overridable Function HasPrincipalKey(properties As IReadOnlyList(Of PropertyInfo), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
properties
System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> System.Collections.Generic.IReadOnlyList(Of System.Reflection.PropertyInfo)
Returns

HasPrincipalKey(IReadOnlyList<String>, ConfigurationSource) HasPrincipalKey(IReadOnlyList(Of String), 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 InternalRelationshipBuilder HasPrincipalKey(IReadOnlyList<string> propertyNames, ConfigurationSource configurationSource)Public Overridable Function HasPrincipalKey(propertyNames As IReadOnlyList(Of String), configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
propertyNames
System.Collections.Generic.IReadOnlyList<System.String> System.Collections.Generic.IReadOnlyList(Of System.String)
Returns

IsRequired(Boolean, ConfigurationSource) IsRequired(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 InternalRelationshipBuilder IsRequired(bool isRequired, ConfigurationSource configurationSource)Public Overridable Function IsRequired(isRequired As Boolean, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
isRequired
System.Boolean System.Boolean
Returns

IsUnique(Boolean, ConfigurationSource) IsUnique(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 InternalRelationshipBuilder IsUnique(bool unique, ConfigurationSource configurationSource)Public Overridable Function IsUnique(unique As Boolean, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
unique
System.Boolean System.Boolean
Returns

Navigations(PropertyInfo, PropertyInfo, ConfigurationSource) Navigations(PropertyInfo, PropertyInfo, 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 InternalRelationshipBuilder Navigations(PropertyInfo navigationToPrincipalProperty, PropertyInfo navigationToDependentProperty, ConfigurationSource configurationSource)Public Overridable Function Navigations(navigationToPrincipalProperty As PropertyInfo, navigationToDependentProperty As PropertyInfo, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToPrincipalProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
navigationToDependentProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

Navigations(PropertyInfo, PropertyInfo, EntityType, EntityType, ConfigurationSource) Navigations(PropertyInfo, PropertyInfo, 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 virtual InternalRelationshipBuilder Navigations(PropertyInfo navigationToPrincipalProperty, PropertyInfo navigationToDependentProperty, EntityType principalEntityType, EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function Navigations(navigationToPrincipalProperty As PropertyInfo, navigationToDependentProperty As PropertyInfo, principalEntityType As EntityType, dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToPrincipalProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
navigationToDependentProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
Returns

Navigations(String, String, ConfigurationSource) Navigations(String, String, 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 InternalRelationshipBuilder Navigations(string navigationToPrincipalName, string navigationToDependentName, ConfigurationSource configurationSource)Public Overridable Function Navigations(navigationToPrincipalName As String, navigationToDependentName As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToPrincipalName
System.String System.String
navigationToDependentName
System.String System.String
Returns

Navigations(String, String, EntityType, EntityType, ConfigurationSource) Navigations(String, String, 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 virtual InternalRelationshipBuilder Navigations(string navigationToPrincipalName, string navigationToDependentName, EntityType principalEntityType, EntityType dependentEntityType, ConfigurationSource configurationSource)Public Overridable Function Navigations(navigationToPrincipalName As String, navigationToDependentName As String, principalEntityType As EntityType, dependentEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToPrincipalName
System.String System.String
navigationToDependentName
System.String System.String
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
Returns

PrincipalEntityType(EntityType, ConfigurationSource) PrincipalEntityType(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 virtual InternalRelationshipBuilder PrincipalEntityType(EntityType principalEntityType, ConfigurationSource configurationSource)Public Overridable Function PrincipalEntityType(principalEntityType As EntityType, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
principalEntityType
EntityType EntityType
Returns

PrincipalEntityType(InternalEntityTypeBuilder, ConfigurationSource) PrincipalEntityType(InternalEntityTypeBuilder, 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 InternalRelationshipBuilder PrincipalEntityType(InternalEntityTypeBuilder principalEntityTypeBuilder, ConfigurationSource configurationSource)Public Overridable Function PrincipalEntityType(principalEntityTypeBuilder As InternalEntityTypeBuilder, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
Returns

PrincipalEntityType(String, ConfigurationSource) PrincipalEntityType(String, 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 InternalRelationshipBuilder PrincipalEntityType(string principalTypeName, ConfigurationSource configurationSource)Public Overridable Function PrincipalEntityType(principalTypeName As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
principalTypeName
System.String System.String
Returns

PrincipalEntityType(Type, ConfigurationSource) PrincipalEntityType(Type, 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 InternalRelationshipBuilder PrincipalEntityType(Type principalType, ConfigurationSource configurationSource)Public Overridable Function PrincipalEntityType(principalType As Type, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
principalType
System.Type System.Type
Returns

PrincipalToDependent(PropertyInfo, ConfigurationSource) PrincipalToDependent(PropertyInfo, 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 InternalRelationshipBuilder PrincipalToDependent(PropertyInfo property, ConfigurationSource configurationSource)Public Overridable Function PrincipalToDependent(property As PropertyInfo, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
property
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

PrincipalToDependent(String, ConfigurationSource) PrincipalToDependent(String, 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 InternalRelationshipBuilder PrincipalToDependent(string name, ConfigurationSource configurationSource)Public Overridable Function PrincipalToDependent(name As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
name
System.String System.String
Returns

RelatedEntityTypes(EntityType, EntityType, Nullable<ConfigurationSource>, Boolean) RelatedEntityTypes(EntityType, EntityType, Nullable(Of 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 InternalRelationshipBuilder RelatedEntityTypes(EntityType principalEntityType, EntityType dependentEntityType, ConfigurationSource? configurationSource, bool runConventions = true)Public Overridable Function RelatedEntityTypes(principalEntityType As EntityType, dependentEntityType As EntityType, configurationSource As ConfigurationSource?, runConventions As Boolean = True) As InternalRelationshipBuilder
Parameters
principalEntityType
EntityType EntityType
dependentEntityType
EntityType EntityType
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
runConventions
System.Boolean System.Boolean
Returns