共用方式為


RelationalDatabaseCreator 建構函式

定義

多載

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

初始化 RelationalDatabaseCreator 類別的新執行個體。

RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor)
已淘汰.

初始化 RelationalDatabaseCreator 類別的新執行個體。

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

初始化 RelationalDatabaseCreator 類別的新執行個體。

RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)

來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs
來源:
RelationalDatabaseCreator.cs

初始化 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)

參數

dependencies
RelationalDatabaseCreatorDependencies

包含此服務相依性的參數物件。

適用於

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

警告

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

初始化 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)

參數

model
IModel

IModel這個建立者正在使用之內容的 。

connection
IRelationalConnection

要使用的 IRelationalConnection

modelDiffer
IMigrationsModelDiffer

要使用的 IMigrationsModelDiffer

migrationsSqlGenerator
IMigrationsSqlGenerator

要使用的 IMigrationsSqlGenerator

migrationCommandExecutor
IMigrationCommandExecutor

要使用的 IMigrationCommandExecutor

屬性

適用於

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

初始化 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)

參數

model
IModel

IModel這個建立者正在使用之內容的 。

connection
IRelationalConnection

要使用的 IRelationalConnection

modelDiffer
IMigrationsModelDiffer

要使用的 IMigrationsModelDiffer

migrationsSqlGenerator
IMigrationsSqlGenerator

要使用的 IMigrationsSqlGenerator

migrationCommandExecutor
IMigrationCommandExecutor

要使用的 IMigrationCommandExecutor

executionStrategyFactory
IExecutionStrategyFactory

要使用的 IExecutionStrategyFactory

適用於