RelationalDatabaseCreator Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies) |
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse. |
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor) |
Veraltet.
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse. |
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory) |
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse. |
RelationalDatabaseCreator(RelationalDatabaseCreatorDependencies)
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
- Quelle:
- RelationalDatabaseCreator.cs
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse.
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)
Parameter
- dependencies
- RelationalDatabaseCreatorDependencies
Parameterobjekt, das Abhängigkeiten für diesen Dienst enthält.
Gilt für:
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor)
Achtung
Derived classes must be updated to call the new constructor with additional parameters.
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse.
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)
Parameter
- connection
- IRelationalConnection
Der zu verwendende IRelationalConnection.
- modelDiffer
- IMigrationsModelDiffer
Der zu verwendende IMigrationsModelDiffer.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
Der zu verwendende IMigrationsSqlGenerator.
- migrationCommandExecutor
- IMigrationCommandExecutor
Der zu verwendende IMigrationCommandExecutor.
- Attribute
Gilt für:
RelationalDatabaseCreator(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, IExecutionStrategyFactory)
Initialisiert eine neue Instanz der RelationalDatabaseCreator-Klasse.
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)
Parameter
- connection
- IRelationalConnection
Der zu verwendende IRelationalConnection.
- modelDiffer
- IMigrationsModelDiffer
Der zu verwendende IMigrationsModelDiffer.
- migrationsSqlGenerator
- IMigrationsSqlGenerator
Der zu verwendende IMigrationsSqlGenerator.
- migrationCommandExecutor
- IMigrationCommandExecutor
Der zu verwendende IMigrationCommandExecutor.
- executionStrategyFactory
- IExecutionStrategyFactory
Der zu verwendende IExecutionStrategyFactory.
Gilt für:
Entity Framework