ModelValidatorDependencies Constructors

Definition

Overloads

ModelValidatorDependencies(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

ModelValidatorDependencies(IMemberClassifier)

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.

ModelValidatorDependencies(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDiagnosticsLogger<DbLoggerCategory.Model>)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

ModelValidatorDependencies(ITypeMappingSource, IMemberClassifier)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

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.

ModelValidatorDependencies(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

public ModelValidatorDependencies (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies
Public Sub New (logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameters

Applies to

ModelValidatorDependencies(IMemberClassifier)

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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ModelValidatorDependencies (Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies : Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies
Public Sub New (memberClassifier As IMemberClassifier)

Parameters

memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier
Attributes

Remarks

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the C# 'with' operator. Do not call the constructor at any point in this process.

Applies to

ModelValidatorDependencies(IDiagnosticsLogger<DbLoggerCategory.Model.Validation>, IDiagnosticsLogger<DbLoggerCategory.Model>)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

public ModelValidatorDependencies (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> modelLogger);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model> -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies
Public Sub New (logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation), modelLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model))

Parameters

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

The validation logger.

modelLogger
IDiagnosticsLogger<DbLoggerCategory.Model>

The model logger.

Applies to

ModelValidatorDependencies(ITypeMappingSource, IMemberClassifier)

Creates the service dependencies parameter object for a ModelValidator.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

Do not call this constructor directly from either provider or application code as it may change as new dependencies are added. Instead, use this type in your constructor so that an instance will be created and injected automatically by the dependency injection container. To create an instance with some dependent services replaced, first resolve the object from the dependency injection container, then replace selected services using the 'With...' methods. Do not call the constructor at any point in this process.

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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ModelValidatorDependencies (Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource, Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier memberClassifier);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource * Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies
Public Sub New (typeMappingSource As ITypeMappingSource, memberClassifier As IMemberClassifier)

Parameters

typeMappingSource
ITypeMappingSource
memberClassifier
Microsoft.EntityFrameworkCore.Metadata.Internal.IMemberClassifier
Attributes

Applies to