InternalModelBuilder InternalModelBuilder 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 InternalModelBuilder : InternalMetadataBuilder<Model>
Public Class InternalModelBuilder
    Inherits InternalMetadataBuilder(Of Model)
Inheritance
System.ObjectSystem.Object
InternalModelBuilderInternalModelBuilder

Inherited Members

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

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.Model>.MetadataMicrosoft.EntityFrameworkCore.Metadata.Internal.InternalMetadataBuilder<Microsoft.EntityFrameworkCore.Metadata.Internal.Model>.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

InternalModelBuilder(Model) InternalModelBuilder(Model)

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 InternalModelBuilder(Model metadata)
Public Sub New(metadata As Model)
Parameters
metadata
Model Model

Properties

ModelBuilder ModelBuilder

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 InternalModelBuilder ModelBuilder { get; }
Public Overrides ReadOnly Property ModelBuilder As InternalModelBuilder
Overrides

Methods

Entity(String, ConfigurationSource, Boolean) Entity(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 InternalEntityTypeBuilder Entity(string name, ConfigurationSource configurationSource, bool runConventions = true)
Public Overridable Function Entity(name As String, configurationSource As ConfigurationSource, runConventions As Boolean = True) As InternalEntityTypeBuilder
Parameters
name
System.String System.String
runConventions
System.Boolean System.Boolean
Returns

Entity(Type, ConfigurationSource, Boolean) Entity(Type, 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 InternalEntityTypeBuilder Entity(Type type, ConfigurationSource configurationSource, bool runConventions = true)
Public Overridable Function Entity(type As Type, configurationSource As ConfigurationSource, runConventions As Boolean = True) As InternalEntityTypeBuilder
Parameters
type
System.Type System.Type
runConventions
System.Boolean System.Boolean
Returns

FindLeastDerivedEntityTypes(Type, Func) FindLeastDerivedEntityTypes(Type, Func(Of InternalEntityTypeBuilder, 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 IReadOnlyList<InternalEntityTypeBuilder> FindLeastDerivedEntityTypes(Type type, Func<InternalEntityTypeBuilder, bool> condition = null)
Public Overridable Function FindLeastDerivedEntityTypes(type As Type, condition As Func(Of InternalEntityTypeBuilder, Boolean) = Nothing) As IReadOnlyList(Of InternalEntityTypeBuilder)
Parameters
type
System.Type System.Type
condition
System.Func<InternalEntityTypeBuilder, System.Boolean> System.Func(Of InternalEntityTypeBuilder, System.Boolean)
Returns
System.Collections.Generic.IReadOnlyList<InternalEntityTypeBuilder> System.Collections.Generic.IReadOnlyList(Of InternalEntityTypeBuilder)

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

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

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

IsIgnored(Type, ConfigurationSource) IsIgnored(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 bool IsIgnored(Type type, ConfigurationSource configurationSource)
Public Overridable Function IsIgnored(type As Type, configurationSource As ConfigurationSource) As Boolean
Parameters
type
System.Type System.Type
Returns
System.Boolean System.Boolean

RemoveEntityTypesUnreachableByNavigations(ConfigurationSource) RemoveEntityTypesUnreachableByNavigations(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 RemoveEntityTypesUnreachableByNavigations(ConfigurationSource configurationSource)
Public Overridable Sub RemoveEntityTypesUnreachableByNavigations(configurationSource As ConfigurationSource)
Parameters

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

Validate() Validate()

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 InternalModelBuilder Validate()
Public Overridable Function Validate As InternalModelBuilder
Returns