Table of Contents

Class InternalModelBuilder

Namespace
Microsoft.EntityFrameworkCore.Metadata.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class InternalModelBuilder : AnnotatableBuilder<Model, InternalModelBuilder>, IConventionModelBuilder, IConventionAnnotatableBuilder
Inheritance
InternalModelBuilder
Implements
Inherited Members

Constructors

InternalModelBuilder(Model)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public InternalModelBuilder(Model metadata)

Parameters

metadata Model

Properties

ModelBuilder

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public override InternalModelBuilder ModelBuilder { get; }

Property Value

InternalModelBuilder

Methods

CanBeConfigured(Type, TypeConfigurationType, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanBeConfigured(Type type, TypeConfigurationType configurationType, ConfigurationSource configurationSource)

Parameters

type Type
configurationType TypeConfigurationType
configurationSource ConfigurationSource

Returns

bool

CanHaveEntity(in TypeIdentity, ConfigurationSource, bool?, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanHaveEntity(in TypeIdentity type, ConfigurationSource configurationSource, bool? shouldBeOwned, bool shouldThrow = false)

Parameters

type TypeIdentity
configurationSource ConfigurationSource
shouldBeOwned bool?
shouldThrow bool

Returns

bool

CanIgnore(string, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanIgnore(string name, ConfigurationSource configurationSource)

Parameters

name string
configurationSource ConfigurationSource

Returns

bool

CanIgnore(Type, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanIgnore(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

bool

CanRemoveEntityType(EntityType, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanRemoveEntityType(EntityType entityType, ConfigurationSource configurationSource)

Parameters

entityType EntityType
configurationSource ConfigurationSource

Returns

bool

CanSetChangeTrackingStrategy(ChangeTrackingStrategy?, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanSetChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, ConfigurationSource configurationSource)

Parameters

changeTrackingStrategy ChangeTrackingStrategy?
configurationSource ConfigurationSource

Returns

bool

CanSetPropertyAccessMode(PropertyAccessMode?, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool CanSetPropertyAccessMode(PropertyAccessMode? propertyAccessMode, ConfigurationSource configurationSource)

Parameters

propertyAccessMode PropertyAccessMode?
configurationSource ConfigurationSource

Returns

bool

Complex(Type, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder Complex(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

InternalModelBuilder

Entity(string, ConfigurationSource, bool?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityTypeBuilder? Entity(string name, ConfigurationSource configurationSource, bool? shouldBeOwned = false)

Parameters

name string
configurationSource ConfigurationSource
shouldBeOwned bool?

Returns

InternalEntityTypeBuilder

Entity(string, string, EntityType, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityTypeBuilder? Entity(string name, string definingNavigationName, EntityType definingEntityType, ConfigurationSource configurationSource)

Parameters

name string
definingNavigationName string
definingEntityType EntityType
configurationSource ConfigurationSource

Returns

InternalEntityTypeBuilder

Entity(Type, ConfigurationSource, bool?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityTypeBuilder? Entity(Type type, ConfigurationSource configurationSource, bool? shouldBeOwned = null)

Parameters

type Type
configurationSource ConfigurationSource
shouldBeOwned bool?

Returns

InternalEntityTypeBuilder

Entity(Type, string, EntityType, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityTypeBuilder? Entity(Type type, string definingNavigationName, EntityType definingEntityType, ConfigurationSource configurationSource)

Parameters

type Type
definingNavigationName string
definingEntityType EntityType
configurationSource ConfigurationSource

Returns

InternalEntityTypeBuilder

HasChangeTrackingStrategy(ChangeTrackingStrategy?, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? HasChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, ConfigurationSource configurationSource)

Parameters

changeTrackingStrategy ChangeTrackingStrategy?
configurationSource ConfigurationSource

Returns

InternalModelBuilder

HasNoEntityType(EntityType, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? HasNoEntityType(EntityType entityType, ConfigurationSource configurationSource)

Parameters

entityType EntityType
configurationSource ConfigurationSource

Returns

InternalModelBuilder

Ignore(string, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? Ignore(string name, ConfigurationSource configurationSource)

Parameters

name string
configurationSource ConfigurationSource

Returns

InternalModelBuilder

Ignore(Type, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? Ignore(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

InternalModelBuilder

IsIgnored(string, ConfigurationSource?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool IsIgnored(string name, ConfigurationSource? configurationSource)

Parameters

name string
configurationSource ConfigurationSource?

Returns

bool

IsIgnored(Type, ConfigurationSource?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual bool IsIgnored(Type type, ConfigurationSource? configurationSource)

Parameters

type Type
configurationSource ConfigurationSource?

Returns

bool

Owned(Type, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual IConventionOwnedEntityTypeBuilder? Owned(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

IConventionOwnedEntityTypeBuilder

RemoveImplicitJoinEntity(EntityType)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? RemoveImplicitJoinEntity(EntityType joinEntityType)

Parameters

joinEntityType EntityType

Returns

InternalModelBuilder

SharedTypeEntity(string, Type?, ConfigurationSource, bool?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalEntityTypeBuilder? SharedTypeEntity(string name, Type? type, ConfigurationSource configurationSource, bool? shouldBeOwned = false)

Parameters

name string
type Type
configurationSource ConfigurationSource
shouldBeOwned bool?

Returns

InternalEntityTypeBuilder

UsePropertyAccessMode(PropertyAccessMode?, ConfigurationSource)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual InternalModelBuilder? UsePropertyAccessMode(PropertyAccessMode? propertyAccessMode, ConfigurationSource configurationSource)

Parameters

propertyAccessMode PropertyAccessMode?
configurationSource ConfigurationSource

Returns

InternalModelBuilder