RelationalDatabaseCreator Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies) |
Inicializuje novou instanci RelationalDatabaseCreator třídy . |
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor) |
Zastaralé.
Inicializuje novou instanci RelationalDatabaseCreator třídy . |
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory) |
Inicializuje novou instanci RelationalDatabaseCreator třídy . |
RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)
Inicializuje novou instanci RelationalDatabaseCreator třídy .
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
Objekt parametru obsahující závislosti pro tuto službu.
Platí pro
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor)
Upozornění
Derived classes must be updated to call the new constructor with additional parameters.
Inicializuje novou instanci RelationalDatabaseCreator třídy .
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
- connection
- IRelationalConnection
Hodnota, IRelationalConnection která se má použít.
- modelDiffer
- IMigrationsModelDiffer
Hodnota, IMigrationsModelDiffer která se má použít.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
Hodnota, IMigrationsSqlGenerator která se má použít.
- migrationCommandExecutor
- IMigrationCommandExecutor
Hodnota, IMigrationCommandExecutor která se má použít.
- Atributy
Platí pro
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory)
Inicializuje novou instanci RelationalDatabaseCreator třídy .
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
- connection
- IRelationalConnection
Hodnota, IRelationalConnection která se má použít.
- modelDiffer
- IMigrationsModelDiffer
Hodnota, IMigrationsModelDiffer která se má použít.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
Hodnota, IMigrationsSqlGenerator která se má použít.
- migrationCommandExecutor
- IMigrationCommandExecutor
Hodnota, IMigrationCommandExecutor která se má použít.
- executionStrategyFactory
- IExecutionStrategyFactory
Hodnota, IExecutionStrategyFactory která se má použít.
Platí pro
Entity Framework