Table of Contents

Class Model

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 Model : ConventionAnnotatable, IMutableModel, IMutableAnnotatable, IConventionModel, IConventionAnnotatable, IRuntimeModel, IModel, IReadOnlyModel, IAnnotatable, IReadOnlyAnnotatable
Inheritance
Model
Implements
Inherited Members
Extension Methods

Constructors

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 Model()

Model(ConventionSet, ModelDependencies?, ModelConfiguration?)

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 Model(ConventionSet conventions, ModelDependencies? modelDependencies = null, ModelConfiguration? modelConfiguration = null)

Parameters

conventions ConventionSet
modelDependencies ModelDependencies
modelConfiguration ModelConfiguration

Fields

DefaultPropertyAccessMode

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 const PropertyAccessMode DefaultPropertyAccessMode = PreferField

Field Value

PropertyAccessMode

DefaultPropertyBagType

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 static readonly Type DefaultPropertyBagType

Field Value

Type

Properties

Builder

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 Builder { get; }

Property Value

InternalModelBuilder

Configuration

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 ModelConfiguration? Configuration { get; }

Property Value

ModelConfiguration

ConventionDispatcher

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 ConventionDispatcher ConventionDispatcher { get; }

Property Value

ConventionDispatcher

DebugView

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 DebugView DebugView { get; }

Property Value

DebugView

IsReadOnly

Indicates whether the model is read-only.

public override bool IsReadOnly { get; }

Property Value

bool

ModelId

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 Guid ModelId { get; }

Property Value

Guid

RelationalModel

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 object? RelationalModel { get; }

Property Value

object

ScopedModelDependencies

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 ModelDependencies? ScopedModelDependencies { get; set; }

Property Value

ModelDependencies

SkipDetectChanges

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 SkipDetectChanges { get; set; }

Property Value

bool

Methods

AddComplex(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 ConfigurationSource? AddComplex(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

ConfigurationSource?

AddComplexType(ComplexType)

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 void AddComplexType(ComplexType complexType)

Parameters

complexType ComplexType

AddEntityType(string, bool, 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 EntityType? AddEntityType(string name, bool owned, ConfigurationSource configurationSource)

Parameters

name string
owned bool
configurationSource ConfigurationSource

Returns

EntityType

AddEntityType(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 EntityType? AddEntityType(string name, string definingNavigationName, EntityType definingEntityType, ConfigurationSource configurationSource)

Parameters

name string
definingNavigationName string
definingEntityType EntityType
configurationSource ConfigurationSource

Returns

EntityType

AddEntityType(string, Type, bool, 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 EntityType? AddEntityType(string name, Type type, bool owned, ConfigurationSource configurationSource)

Parameters

name string
type Type
owned bool
configurationSource ConfigurationSource

Returns

EntityType

AddEntityType(Type, bool, 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 EntityType? AddEntityType(Type type, bool owned, ConfigurationSource configurationSource)

Parameters

type Type
owned bool
configurationSource ConfigurationSource

Returns

EntityType

AddEntityType(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 EntityType? AddEntityType(Type type, string definingNavigationName, EntityType definingEntityType, ConfigurationSource configurationSource)

Parameters

type Type
definingNavigationName string
definingEntityType EntityType
configurationSource ConfigurationSource

Returns

EntityType

AddIgnored(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 string? AddIgnored(string name, ConfigurationSource configurationSource)

Parameters

name string
configurationSource ConfigurationSource

Returns

string

AddIgnored(string, 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 string? AddIgnored(string name, Type? type, ConfigurationSource configurationSource)

Parameters

name string
type Type
configurationSource ConfigurationSource

Returns

string

AddIgnored(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 string? AddIgnored(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

Returns

string

AddOwned(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 void AddOwned(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

AddProperty(Property)

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 void AddProperty(Property property)

Parameters

property Property

AddShared(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 void AddShared(Type type, ConfigurationSource configurationSource)

Parameters

type Type
configurationSource ConfigurationSource

DelayConventions()

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 IConventionBatch DelayConventions()

Returns

IConventionBatch

FinalizeModel()

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 IModel FinalizeModel()

Returns

IModel

FindActualEntityType(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 EntityType? FindActualEntityType(EntityType entityType)

Parameters

entityType EntityType

Returns

EntityType

FindClrType(string)

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 Type? FindClrType(string name)

Parameters

name string

Returns

Type

FindComplexType(string)

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 ComplexType? FindComplexType(string name)

Parameters

name string

Returns

ComplexType

FindEntityType(string)

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 EntityType? FindEntityType(string name)

Parameters

name string

Returns

EntityType

FindEntityType(string, string, 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 EntityType? FindEntityType(string name, string definingNavigationName, EntityType definingEntityType)

Parameters

name string
definingNavigationName string
definingEntityType EntityType

Returns

EntityType

FindEntityType(Type)

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 EntityType? FindEntityType(Type type)

Parameters

type Type

Returns

EntityType

FindEntityType(Type, string, 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 EntityType? FindEntityType(Type type, string definingNavigationName, EntityType definingEntityType)

Parameters

type Type
definingNavigationName string
definingEntityType EntityType

Returns

EntityType

FindEntityTypes(Type)

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 IEnumerable<EntityType> FindEntityTypes(Type type)

Parameters

type Type

Returns

IEnumerable<EntityType>

FindIgnoredConfigurationSource(string)

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 ConfigurationSource? FindIgnoredConfigurationSource(string name)

Parameters

name string

Returns

ConfigurationSource?

FindIgnoredConfigurationSource(Type)

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 ConfigurationSource? FindIgnoredConfigurationSource(Type type)

Parameters

type Type

Returns

ConfigurationSource?

FindIndexerPropertyInfo(Type)

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 PropertyInfo? FindIndexerPropertyInfo(Type type)

Parameters

type Type

Returns

PropertyInfo

FindIsComplexConfigurationSource(Type)

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 ConfigurationSource? FindIsComplexConfigurationSource(Type type)

Parameters

type Type

Returns

ConfigurationSource?

FindIsOwnedConfigurationSource(Type)

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 ConfigurationSource? FindIsOwnedConfigurationSource(Type type)

Parameters

type Type

Returns

ConfigurationSource?

FindIsSharedConfigurationSource(Type)

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 ConfigurationSource? FindIsSharedConfigurationSource(Type type)

Parameters

type Type

Returns

ConfigurationSource?

FindProperties(Type)

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 IReadOnlySet<Property>? FindProperties(Type type)

Parameters

type Type

Returns

IReadOnlySet<Property>

FindTypeMappingConfiguration(Type)

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 ITypeMappingConfiguration? FindTypeMappingConfiguration(Type propertyType)

Parameters

propertyType Type

Returns

ITypeMappingConfiguration

GetChangeTrackingStrategy()

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 ChangeTrackingStrategy GetChangeTrackingStrategy()

Returns

ChangeTrackingStrategy

GetChangeTrackingStrategyConfigurationSource()

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 ConfigurationSource? GetChangeTrackingStrategyConfigurationSource()

Returns

ConfigurationSource?

GetDisplayName(Type)

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 string GetDisplayName(Type type)

Parameters

type Type

Returns

string

GetEntityTypes()

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 IEnumerable<EntityType> GetEntityTypes()

Returns

IEnumerable<EntityType>

GetEntityTypes(string)

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 IEnumerable<EntityType> GetEntityTypes(string name)

Parameters

name string

Returns

IEnumerable<EntityType>

GetPropertyAccessMode()

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 PropertyAccessMode GetPropertyAccessMode()

Returns

PropertyAccessMode

GetPropertyAccessModeConfigurationSource()

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 ConfigurationSource? GetPropertyAccessModeConfigurationSource()

Returns

ConfigurationSource?

GetTypeMappingConfigurations()

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 IEnumerable<ITypeMappingConfiguration> GetTypeMappingConfigurations()

Returns

IEnumerable<ITypeMappingConfiguration>

IsIgnored(string)

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)

Parameters

name string

Returns

bool

IsIgnored(Type)

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)

Parameters

type Type

Returns

bool

IsIgnoredType(Type)

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 IsIgnoredType(Type type)

Parameters

type Type

Returns

bool

IsIndexerMethod(MethodInfo)

Gets a value indicating whether the given MethodInfo represents an indexer access.

public virtual bool IsIndexerMethod(MethodInfo methodInfo)

Parameters

methodInfo MethodInfo

The MethodInfo to check for.

Returns

bool

IsOwned(Type)

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 IsOwned(Type type)

Parameters

type Type

Returns

bool

IsShared(Type)

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 IsShared(Type type)

Parameters

type Type

Returns

bool

OnAnnotationSet(string, IConventionAnnotation?, IConventionAnnotation?)

Runs the conventions when an annotation was set or removed.

protected override IConventionAnnotation? OnAnnotationSet(string name, IConventionAnnotation? annotation, IConventionAnnotation? oldAnnotation)

Parameters

name string

The key of the set annotation.

annotation IConventionAnnotation

The annotation set.

oldAnnotation IConventionAnnotation

The old annotation.

Returns

IConventionAnnotation

The annotation that was set.

OnModelFinalized()

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 IModel OnModelFinalized()

Returns

IModel

RemoveComplexType(ComplexType)

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 void RemoveComplexType(ComplexType complexType)

Parameters

complexType ComplexType

RemoveEntityType(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 EntityType? RemoveEntityType(EntityType? entityType)

Parameters

entityType EntityType

Returns

EntityType

RemoveEntityType(string)

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 EntityType? RemoveEntityType(string name)

Parameters

name string

Returns

EntityType

RemoveEntityType(string, string, 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 EntityType? RemoveEntityType(string name, string definingNavigationName, EntityType definingEntityType)

Parameters

name string
definingNavigationName string
definingEntityType EntityType

Returns

EntityType

RemoveEntityType(Type)

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 EntityType? RemoveEntityType(Type type)

Parameters

type Type

Returns

EntityType

RemoveEntityType(Type, string, 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 EntityType? RemoveEntityType(Type type, string definingNavigationName, EntityType definingEntityType)

Parameters

type Type
definingNavigationName string
definingEntityType EntityType

Returns

EntityType

RemoveIgnored(string)

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 string? RemoveIgnored(string name)

Parameters

name string

Returns

string

RemoveIgnored(Type)

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 string? RemoveIgnored(Type type)

Parameters

type Type

Returns

string

RemoveOwned(Type)

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 string? RemoveOwned(Type type)

Parameters

type Type

Returns

string

RemoveProperty(Property)

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 Property? RemoveProperty(Property property)

Parameters

property Property

Returns

Property

RemoveShared(Type)

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 Type? RemoveShared(Type type)

Parameters

type Type

Returns

Type

SetChangeTrackingStrategy(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 ChangeTrackingStrategy? SetChangeTrackingStrategy(ChangeTrackingStrategy? changeTrackingStrategy, ConfigurationSource configurationSource)

Parameters

changeTrackingStrategy ChangeTrackingStrategy?
configurationSource ConfigurationSource

Returns

ChangeTrackingStrategy?

SetPropertyAccessMode(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 PropertyAccessMode? SetPropertyAccessMode(PropertyAccessMode? propertyAccessMode, ConfigurationSource configurationSource)

Parameters

propertyAccessMode PropertyAccessMode?
configurationSource ConfigurationSource

Returns

PropertyAccessMode?

SetSkipDetectChanges(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? SetSkipDetectChanges(bool? skipDetectChanges)

Parameters

skipDetectChanges bool?

Returns

bool?

Track<T>(Func<T>, ref IConventionForeignKey?)

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 T Track<T>(Func<T> func, ref IConventionForeignKey? foreignKey)

Parameters

func Func<T>
foreignKey IConventionForeignKey

Returns

T

Type Parameters

T