Udostępnij za pośrednictwem


ModelCreationDependencies Konstruktor

Definicja

Jest to wewnętrzny interfejs API, który obsługuje infrastrukturę Entity Framework Core i nie podlega tym samym standardom zgodności co publiczne interfejsy API. Można go zmienić lub usunąć bez powiadomienia w jakiejkolwiek wersji. Należy używać go bezpośrednio w kodzie z wyjątkową ostrożnością i wiedzieć, że może to spowodować błędy aplikacji podczas aktualizowania do nowej wersji programu 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))

Parametry

modelSource
IModelSource
conventionSetBuilder
IConventionSetBuilder
modelDependencies
ModelDependencies
modelRuntimeInitializer
IModelRuntimeInitializer
Atrybuty

Dotyczy