Share via


ModelCreationDependencies Class

Definition

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 sealed class ModelCreationDependencies : IEquatable<Microsoft.EntityFrameworkCore.ModelCreationDependencies>
type ModelCreationDependencies = class
    interface IEquatable<ModelCreationDependencies>
Public NotInheritable Class ModelCreationDependencies
Implements IEquatable(Of ModelCreationDependencies)
Inheritance
ModelCreationDependencies
Implements

Remarks

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

Constructors

ModelCreationDependencies(IModelSource, IConventionSetBuilder, ModelDependencies, IModelRuntimeInitializer, IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

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.

Properties

ConventionSetBuilder

The convention set to use when creating the model.

ModelDependencies

The dependencies object for the model.

ModelRuntimeInitializer

The model runtime initializer that will be used after the model building is finished.

ModelSource

The model source.

ValidationLogger

The validation logger.

Methods

<Clone>$()
Equals(ModelCreationDependencies)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(ModelCreationDependencies, ModelCreationDependencies)
Inequality(ModelCreationDependencies, ModelCreationDependencies)

Applies to