Condividi tramite


ModelCreationDependencies Costruttore

Definizione

Si tratta di un'API interna che supporta l'infrastruttura Entity Framework Core e non è soggetta agli stessi standard di compatibilità delle API pubbliche. Può essere modificato o rimosso senza preavviso in nessuna versione. È consigliabile usarlo direttamente nel codice con attenzione estrema e sapere che ciò può causare errori dell'applicazione durante l'aggiornamento a una nuova versione di 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))

Parametri

modelSource
IModelSource
conventionSetBuilder
IConventionSetBuilder
modelDependencies
ModelDependencies
modelRuntimeInitializer
IModelRuntimeInitializer
Attributi

Si applica a