InternalEntityTypeBuilder InternalEntityTypeBuilder 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 InternalEntityTypeBuilder : InternalMetadataItemBuilder<EntityType>
Public Class InternalEntityTypeBuilder
    Inherits InternalMetadataItemBuilder(Of EntityType)
Inheritance

Constructors

InternalEntityTypeBuilder(EntityType, InternalModelBuilder) InternalEntityTypeBuilder(EntityType, 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 InternalEntityTypeBuilder(EntityType metadata, InternalModelBuilder modelBuilder)
Public Sub New(metadata As EntityType, modelBuilder As InternalModelBuilder)
Parameters

Methods

CanAddNavigation(String, ConfigurationSource) CanAddNavigation(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 bool CanAddNavigation(string navigationName, ConfigurationSource configurationSource)
Public Overridable Function CanAddNavigation(navigationName As String, configurationSource As ConfigurationSource) As Boolean
Parameters
navigationName
System.String System.String
Returns
System.Boolean System.Boolean

CanAddOrReplaceNavigation(String, ConfigurationSource) CanAddOrReplaceNavigation(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 bool CanAddOrReplaceNavigation(string navigationName, ConfigurationSource configurationSource)
Public Overridable Function CanAddOrReplaceNavigation(navigationName As String, configurationSource As ConfigurationSource) As Boolean
Parameters
navigationName
System.String System.String
Returns
System.Boolean System.Boolean

CanRemoveForeignKey(ForeignKey, ConfigurationSource) CanRemoveForeignKey(ForeignKey, 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 CanRemoveForeignKey(ForeignKey foreignKey, ConfigurationSource configurationSource)
Public Overridable Function CanRemoveForeignKey(foreignKey As ForeignKey, configurationSource As ConfigurationSource) As Boolean
Parameters
foreignKey
ForeignKey ForeignKey
Returns
System.Boolean System.Boolean

CanSetAnnotation(String, Object, ConfigurationSource) CanSetAnnotation(String, Object, 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.

(Inherited from InternalMetadataBuilder)

CreateForeignKey(InternalEntityTypeBuilder, IReadOnlyList, Key, String, Nullable, ConfigurationSource, Boolean) CreateForeignKey(InternalEntityTypeBuilder, IReadOnlyList(Of Property), Key, String, Nullable(Of 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 InternalRelationshipBuilder CreateForeignKey(InternalEntityTypeBuilder principalEntityTypeBuilder, IReadOnlyList<Property> dependentProperties, Key principalKey, string navigationToPrincipalName, bool ? isRequired, ConfigurationSource configurationSource, bool runConventions)
Public Overridable Function CreateForeignKey(principalEntityTypeBuilder As InternalEntityTypeBuilder, dependentProperties As IReadOnlyList(Of  Property), principalKey As Key, navigationToPrincipalName As String, isRequired As Boolean?, configurationSource As ConfigurationSource, runConventions As Boolean) As InternalRelationshipBuilder
Parameters
dependentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalKey
Key Key
navigationToPrincipalName
System.String System.String
isRequired
System.Nullable<System.Boolean> System.Nullable(Of System.Boolean)
runConventions
System.Boolean System.Boolean
Returns

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

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

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrCreateProperties(IEnumerable, ConfigurationSource) GetOrCreateProperties(IEnumerable(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 IReadOnlyList<Property> GetOrCreateProperties(IEnumerable<MemberInfo> clrProperties, ConfigurationSource configurationSource)
Public Overridable Function GetOrCreateProperties(clrProperties As IEnumerable(Of MemberInfo), configurationSource As ConfigurationSource) As IReadOnlyList(Of  Property)
Parameters
clrProperties
System.Collections.Generic.IEnumerable<System.Reflection.MemberInfo> System.Collections.Generic.IEnumerable(Of System.Reflection.MemberInfo)
Returns
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

GetOrCreateProperties(IEnumerable, ConfigurationSource, IEnumerable) GetOrCreateProperties(IEnumerable(Of String), ConfigurationSource, IEnumerable(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 virtual IReadOnlyList<Property> GetOrCreateProperties(IEnumerable<string> propertyNames, ConfigurationSource configurationSource, IEnumerable<Property> referencedProperties = null)
Public Overridable Function GetOrCreateProperties(propertyNames As IEnumerable(Of String), configurationSource As ConfigurationSource, referencedProperties As IEnumerable(Of  Property) = Nothing) As IReadOnlyList(Of  Property)
Parameters
propertyNames
System.Collections.Generic.IEnumerable<System.String> System.Collections.Generic.IEnumerable(Of System.String)
referencedProperties
System.Collections.Generic.IEnumerable<Property> System.Collections.Generic.IEnumerable(Of Property)
Returns
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

GetType() GetType()

Inherited from System.Object

HasAnnotation(String, Object, ConfigurationSource) HasAnnotation(String, Object, 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.

(Inherited from InternalMetadataBuilder)

HasBaseType(EntityType, ConfigurationSource) HasBaseType(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 InternalEntityTypeBuilder HasBaseType(EntityType baseEntityType, ConfigurationSource configurationSource)
Public Overridable Function HasBaseType(baseEntityType As EntityType, configurationSource As ConfigurationSource) As InternalEntityTypeBuilder
Parameters
baseEntityType
EntityType EntityType
Returns

HasBaseType(String, ConfigurationSource) HasBaseType(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 InternalEntityTypeBuilder HasBaseType(string baseEntityTypeName, ConfigurationSource configurationSource)
Public Overridable Function HasBaseType(baseEntityTypeName As String, configurationSource As ConfigurationSource) As InternalEntityTypeBuilder
Parameters
baseEntityTypeName
System.String System.String
Returns

HasBaseType(Type, ConfigurationSource) HasBaseType(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 InternalEntityTypeBuilder HasBaseType(Type baseEntityType, ConfigurationSource configurationSource)
Public Overridable Function HasBaseType(baseEntityType As Type, configurationSource As ConfigurationSource) As InternalEntityTypeBuilder
Parameters
baseEntityType
System.Type System.Type
Returns

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

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

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

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

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

HasForeignKey(Type, IReadOnlyList, Key, ConfigurationSource) HasForeignKey(Type, IReadOnlyList(Of PropertyInfo), Key, 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(Type principalClrType, IReadOnlyList<PropertyInfo> clrProperties, Key principalKey, ConfigurationSource configurationSource)
Public Overridable Function HasForeignKey(principalClrType As Type, clrProperties As IReadOnlyList(Of PropertyInfo), principalKey As Key, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
principalClrType
System.Type System.Type
clrProperties
System.Collections.Generic.IReadOnlyList<System.Reflection.PropertyInfo> System.Collections.Generic.IReadOnlyList(Of System.Reflection.PropertyInfo)
principalKey
Key Key
Returns

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

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

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

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

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

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

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

IsIgnored(String, Nullable) IsIgnored(String, 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 IsIgnored(string name, ConfigurationSource? configurationSource)
Public Overridable Function IsIgnored(name As String, configurationSource As ConfigurationSource?) As Boolean
Parameters
name
System.String System.String
configurationSource
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)
Returns
System.Boolean System.Boolean

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

MergeAnnotationsFrom(InternalMetadataBuilder) MergeAnnotationsFrom(InternalMetadataBuilder)

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.

(Inherited from InternalMetadataBuilder)

Metadata Metadata

Inherited from Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType>

ModelBuilder ModelBuilder

Inherited from Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataItemBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType>

Navigation(InternalEntityTypeBuilder, PropertyInfo, ConfigurationSource, Boolean) Navigation(InternalEntityTypeBuilder, 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 InternalRelationshipBuilder Navigation(InternalEntityTypeBuilder targetEntityTypeBuilder, PropertyInfo navigationProperty, ConfigurationSource configurationSource, bool strictPrincipalEnd = false)
Public Overridable Function Navigation(targetEntityTypeBuilder As InternalEntityTypeBuilder, navigationProperty As PropertyInfo, configurationSource As ConfigurationSource, strictPrincipalEnd As Boolean = False) As InternalRelationshipBuilder
Parameters
navigationProperty
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
strictPrincipalEnd
System.Boolean System.Boolean
Returns

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

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

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

Property(MemberInfo, ConfigurationSource) Property(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 InternalPropertyBuilder Property(MemberInfo clrProperty, ConfigurationSource configurationSource)
Public Overridable Function Property(clrProperty As MemberInfo, configurationSource As ConfigurationSource) As InternalPropertyBuilder
Parameters
clrProperty
System.Reflection.MemberInfo System.Reflection.MemberInfo
Returns

Property(String, ConfigurationSource) Property(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 InternalPropertyBuilder Property(string propertyName, ConfigurationSource configurationSource)
Public Overridable Function Property(propertyName As String, configurationSource As ConfigurationSource) As InternalPropertyBuilder
Parameters
propertyName
System.String System.String
Returns

Property(String, Type, ConfigurationSource) Property(String, 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 InternalPropertyBuilder Property(string propertyName, Type propertyType, ConfigurationSource configurationSource)
Public Overridable Function Property(propertyName As String, propertyType As Type, configurationSource As ConfigurationSource) As InternalPropertyBuilder
Parameters
propertyName
System.String System.String
propertyType
System.Type System.Type
Returns

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

Inherited from System.Object

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

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

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

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

Relationship(InternalEntityTypeBuilder, PropertyInfo, PropertyInfo, ConfigurationSource) Relationship(InternalEntityTypeBuilder, 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 Relationship(InternalEntityTypeBuilder targetEntityTypeBuilder, PropertyInfo navigationToTarget, PropertyInfo inverseNavigation, ConfigurationSource configurationSource)
Public Overridable Function Relationship(targetEntityTypeBuilder As InternalEntityTypeBuilder, navigationToTarget As PropertyInfo, inverseNavigation As PropertyInfo, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToTarget
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
inverseNavigation
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns

Relationship(InternalEntityTypeBuilder, String, String, ConfigurationSource) Relationship(InternalEntityTypeBuilder, 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 Relationship(InternalEntityTypeBuilder targetEntityTypeBuilder, string navigationToTargetName, string inverseNavigationName, ConfigurationSource configurationSource)
Public Overridable Function Relationship(targetEntityTypeBuilder As InternalEntityTypeBuilder, navigationToTargetName As String, inverseNavigationName As String, configurationSource As ConfigurationSource) As InternalRelationshipBuilder
Parameters
navigationToTargetName
System.String System.String
inverseNavigationName
System.String System.String
Returns

RemoveForeignKey(ForeignKey, ConfigurationSource) RemoveForeignKey(ForeignKey, 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 ConfigurationSource? RemoveForeignKey(ForeignKey foreignKey, ConfigurationSource configurationSource)
Public Overridable Function RemoveForeignKey(foreignKey As ForeignKey, configurationSource As ConfigurationSource) As ConfigurationSource?
Parameters
foreignKey
ForeignKey ForeignKey
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

RemoveForeignKey(ForeignKey, ConfigurationSource, Boolean, Boolean) RemoveForeignKey(ForeignKey, ConfigurationSource, 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 virtual ConfigurationSource? RemoveForeignKey(ForeignKey foreignKey, ConfigurationSource configurationSource, bool canOverrideSameSource = true, bool runConventions = true)
Public Overridable Function RemoveForeignKey(foreignKey As ForeignKey, configurationSource As ConfigurationSource, canOverrideSameSource As Boolean = True, runConventions As Boolean = True) As ConfigurationSource?
Parameters
foreignKey
ForeignKey ForeignKey
canOverrideSameSource
System.Boolean System.Boolean
runConventions
System.Boolean System.Boolean
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

RemoveIndex(Index, ConfigurationSource) RemoveIndex(Index, 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 ConfigurationSource? RemoveIndex(Index index, ConfigurationSource configurationSource)
Public Overridable Function RemoveIndex(index As Index, configurationSource As ConfigurationSource) As ConfigurationSource?
Parameters
index
Index Index
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

RemoveKey(Key, ConfigurationSource, Boolean) RemoveKey(Key, 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 ConfigurationSource? RemoveKey(Key key, ConfigurationSource configurationSource, bool runConventions = true)
Public Overridable Function RemoveKey(key As Key, configurationSource As ConfigurationSource, runConventions As Boolean = True) As ConfigurationSource?
Parameters
key
Key Key
runConventions
System.Boolean System.Boolean
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

RemoveShadowPropertiesIfUnused(IReadOnlyList) RemoveShadowPropertiesIfUnused(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 virtual void RemoveShadowPropertiesIfUnused(IReadOnlyList<Property> properties)
Public Overridable Sub RemoveShadowPropertiesIfUnused(properties As IReadOnlyList(Of  Property))
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

ReUniquifyTemporaryProperties(IReadOnlyList, IReadOnlyList, Boolean, String) ReUniquifyTemporaryProperties(IReadOnlyList(Of Property), IReadOnlyList(Of Property), Boolean, String)

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> ReUniquifyTemporaryProperties(IReadOnlyList<Property> currentProperties, IReadOnlyList<Property> principalProperties, bool isRequired, string baseName)
Public Overridable Function ReUniquifyTemporaryProperties(currentProperties As IReadOnlyList(Of  Property), principalProperties As IReadOnlyList(Of  Property), isRequired As Boolean, baseName As String) As IReadOnlyList(Of  Property)
Parameters
currentProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
principalProperties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
isRequired
System.Boolean System.Boolean
baseName
System.String System.String
Returns
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

ToString() ToString()

Inherited from System.Object

UsePropertyAccessMode(PropertyAccessMode, ConfigurationSource) UsePropertyAccessMode(PropertyAccessMode, 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 UsePropertyAccessMode(PropertyAccessMode propertyAccessMode, ConfigurationSource configurationSource)
Public Overridable Function UsePropertyAccessMode(propertyAccessMode As PropertyAccessMode, configurationSource As ConfigurationSource) As Boolean
Parameters
Returns
System.Boolean System.Boolean