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
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
TypeconfigurationType
TypeConfigurationTypeconfigurationSource
ConfigurationSource
Returns
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
TypeIdentityconfigurationSource
ConfigurationSourceshouldBeOwned
bool?shouldThrow
bool
Returns
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
stringconfigurationSource
ConfigurationSource
Returns
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
TypeconfigurationSource
ConfigurationSource
Returns
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
EntityTypeconfigurationSource
ConfigurationSource
Returns
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
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
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
TypeconfigurationSource
ConfigurationSource
Returns
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
stringconfigurationSource
ConfigurationSourceshouldBeOwned
bool?
Returns
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
stringdefiningNavigationName
stringdefiningEntityType
EntityTypeconfigurationSource
ConfigurationSource
Returns
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
TypeconfigurationSource
ConfigurationSourceshouldBeOwned
bool?
Returns
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
TypedefiningNavigationName
stringdefiningEntityType
EntityTypeconfigurationSource
ConfigurationSource
Returns
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
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
EntityTypeconfigurationSource
ConfigurationSource
Returns
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
stringconfigurationSource
ConfigurationSource
Returns
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
TypeconfigurationSource
ConfigurationSource
Returns
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
stringconfigurationSource
ConfigurationSource?
Returns
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
TypeconfigurationSource
ConfigurationSource?
Returns
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
TypeconfigurationSource
ConfigurationSource
Returns
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
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
stringtype
TypeconfigurationSource
ConfigurationSourceshouldBeOwned
bool?
Returns
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