Compartilhar via


RelationalDatabaseCreator Construtores

Definição

Sobrecargas

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

Inicializa uma nova instância da classe RelationalDatabaseCreator.

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

Inicializa uma nova instância da classe RelationalDatabaseCreator.

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

Inicializa uma nova instância da classe RelationalDatabaseCreator.

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

Inicializa uma nova instância da classe 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)

Parâmetros

dependencies
RelationalDatabaseCreatorDependencies

Objeto parameter que contém dependências para esse serviço.

Aplica-se a

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

Cuidado

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

Inicializa uma nova instância da classe 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)

Parâmetros

model
IModel

O IModel para o contexto com o qual este criador está sendo usado.

connection
IRelationalConnection

O IRelationalConnection a ser usado.

modelDiffer
IMigrationsModelDiffer

O IMigrationsModelDiffer a ser usado.

migrationsSqlGenerator
IMigrationsSqlGenerator

O IMigrationsSqlGenerator a ser usado.

migrationCommandExecutor
IMigrationCommandExecutor

O IMigrationCommandExecutor a ser usado.

Atributos

Aplica-se a

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

Inicializa uma nova instância da classe 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)

Parâmetros

model
IModel

O IModel para o contexto com o qual este criador está sendo usado.

connection
IRelationalConnection

O IRelationalConnection a ser usado.

modelDiffer
IMigrationsModelDiffer

O IMigrationsModelDiffer a ser usado.

migrationsSqlGenerator
IMigrationsSqlGenerator

O IMigrationsSqlGenerator a ser usado.

migrationCommandExecutor
IMigrationCommandExecutor

O IMigrationCommandExecutor a ser usado.

executionStrategyFactory
IExecutionStrategyFactory

O IExecutionStrategyFactory a ser usado.

Aplica-se a