Udostępnij za pośrednictwem


RelationalDatabaseCreator Konstruktory

Definicja

Przeciążenia

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor)
Przestarzałe.

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory)

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs
Źródło:
RelationalDatabaseCreator.cs

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

protected RelationalDatabaseCreator (Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator : Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator
Protected Sub New (dependencies As RelationalDatabaseCreatorDependencies)

Parametry

dependencies
RelationalDatabaseCreatorDependencies

Obiekt parametru zawierający zależności dla tej usługi.

Dotyczy

RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor)

Przestroga

Derived classes must be updated to call the new constructor with additional parameters.

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

protected RelationalDatabaseCreator (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor migrationCommandExecutor);
[System.Obsolete("Derived classes must be updated to call the new constructor with additional parameters.")]
protected RelationalDatabaseCreator (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor migrationCommandExecutor);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator
[<System.Obsolete("Derived classes must be updated to call the new constructor with additional parameters.")>]
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator
Protected Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor)

Parametry

model
IModel

Element IModel dla kontekstu, z którego jest używany ten twórca.

connection
IRelationalConnection

Element IRelationalConnection do użycia.

modelDiffer
IMigrationsModelDiffer

Element IMigrationsModelDiffer do użycia.

migrationsSqlGenerator
IMigrationsSqlGenerator

Element IMigrationsSqlGenerator do użycia.

migrationCommandExecutor
IMigrationCommandExecutor

Element IMigrationCommandExecutor do użycia.

Atrybuty

Dotyczy

RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory)

Inicjuje nowe wystąpienie klasy RelationalDatabaseCreator.

protected RelationalDatabaseCreator (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer, Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator, Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor migrationCommandExecutor, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator
Protected Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, executionStrategyFactory As IExecutionStrategyFactory)

Parametry

model
IModel

Element IModel dla kontekstu, z którego jest używany ten twórca.

connection
IRelationalConnection

Element IRelationalConnection do użycia.

modelDiffer
IMigrationsModelDiffer

Element IMigrationsModelDiffer do użycia.

migrationsSqlGenerator
IMigrationsSqlGenerator

Element IMigrationsSqlGenerator do użycia.

migrationCommandExecutor
IMigrationCommandExecutor

Element IMigrationCommandExecutor do użycia.

executionStrategyFactory
IExecutionStrategyFactory

Element IExecutionStrategyFactory do użycia.

Dotyczy