ModelCreationDependencies Constructor

Definición

Se trata de una API interna que admite la infraestructura de Entity Framework Core y no está sujeta a los mismos estándares de compatibilidad que las API públicas. Se puede cambiar o quitar sin previo aviso en ninguna versión. Solo debe usarlo directamente en el código con extrema precaución y saber que hacerlo puede dar lugar a errores de aplicación al actualizar a una nueva versión de Entity Framework Core.

public ModelCreationDependencies (Microsoft.EntityFrameworkCore.Infrastructure.IModelSource modelSource, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies, Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer modelRuntimeInitializer, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ModelCreationDependencies (Microsoft.EntityFrameworkCore.Infrastructure.IModelSource modelSource, Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder conventionSetBuilder, Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies modelDependencies, Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer modelRuntimeInitializer, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> validationLogger);
new Microsoft.EntityFrameworkCore.ModelCreationDependencies : Microsoft.EntityFrameworkCore.Infrastructure.IModelSource * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies * Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> Microsoft.EntityFrameworkCore.ModelCreationDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.ModelCreationDependencies : Microsoft.EntityFrameworkCore.Infrastructure.IModelSource * Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.IConventionSetBuilder * Microsoft.EntityFrameworkCore.Infrastructure.ModelDependencies * Microsoft.EntityFrameworkCore.Infrastructure.IModelRuntimeInitializer * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> Microsoft.EntityFrameworkCore.ModelCreationDependencies
Public Sub New (modelSource As IModelSource, conventionSetBuilder As IConventionSetBuilder, modelDependencies As ModelDependencies, modelRuntimeInitializer As IModelRuntimeInitializer, validationLogger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parámetros

modelSource
IModelSource
conventionSetBuilder
IConventionSetBuilder
modelDependencies
ModelDependencies
modelRuntimeInitializer
IModelRuntimeInitializer
Atributos

Se aplica a