RelationalDatabaseCreatorDependencies Oluşturucular

Tanım

Aşırı Yüklemeler

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

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategyFactory)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategyFactory, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database>)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategy, IExecutionStrategyFactory, ICurrentDbContext, IRelationalCommandDiagnosticsLogger)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

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

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

public RelationalDatabaseCreatorDependencies (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.RelationalDatabaseCreatorDependencies : 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.RelationalDatabaseCreatorDependencies
Public Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, executionStrategyFactory As IExecutionStrategyFactory)

Parametreler

model
IModel

Bu IModel oluşturucu tarafından kullanılan bağlam için.

connection
IRelationalConnection

Kullanılacak IRelationalConnection .

modelDiffer
IMigrationsModelDiffer

Kullanılacak IMigrationsModelDiffer .

migrationsSqlGenerator
IMigrationsSqlGenerator

Kullanılacak IMigrationsSqlGenerator .

migrationCommandExecutor
IMigrationCommandExecutor

Kullanılacak IMigrationCommandExecutor .

executionStrategyFactory
IExecutionStrategyFactory

Kullanılacak IExecutionStrategyFactory .

Şunlara uygulanır

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategyFactory)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu API, Entity Framework Core altyapısını destekler ve doğrudan kodunuzdan kullanılmaya yönelik değildir. Bu API gelecek sürümlerde değişebilir veya kaldırılabilir.

public RelationalDatabaseCreatorDependencies (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.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, sqlGenerationHelper As ISqlGenerationHelper, executionStrategyFactory As IExecutionStrategyFactory)

Parametreler

model
IModel

Bu IModel oluşturucu tarafından kullanılan bağlam için.

connection
IRelationalConnection

Kullanılacak IRelationalConnection .

modelDiffer
IMigrationsModelDiffer

Kullanılacak IMigrationsModelDiffer .

migrationsSqlGenerator
IMigrationsSqlGenerator

Kullanılacak IMigrationsSqlGenerator .

migrationCommandExecutor
IMigrationCommandExecutor

Kullanılacak IMigrationCommandExecutor .

sqlGenerationHelper
ISqlGenerationHelper

Kullanılacak ISqlGenerationHelper .

executionStrategyFactory
IExecutionStrategyFactory

Kullanılacak IExecutionStrategyFactory .

Şunlara uygulanır

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategyFactory, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database>)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RelationalDatabaseCreatorDependencies (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.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, sqlGenerationHelper As ISqlGenerationHelper, executionStrategyFactory As IExecutionStrategyFactory, currentContext As ICurrentDbContext, commandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))

Parametreler

model
IModel
migrationsSqlGenerator
IMigrationsSqlGenerator
migrationCommandExecutor
IMigrationCommandExecutor
sqlGenerationHelper
ISqlGenerationHelper
executionStrategyFactory
IExecutionStrategyFactory
currentContext
ICurrentDbContext
Öznitelikler

Şunlara uygulanır

RelationalDatabaseCreatorDependencies(IModel, IRelationalConnection, IMigrationsModelDiffer, IMigrationsSqlGenerator, IMigrationCommandExecutor, ISqlGenerationHelper, IExecutionStrategy, IExecutionStrategyFactory, ICurrentDbContext, IRelationalCommandDiagnosticsLogger)

bir için hizmet bağımlılıkları parametre nesnesini RelationalDatabaseCreator oluşturur.

Yeni bağımlılıklar eklendiklerinden, bu oluşturucunun doğrudan sağlayıcıdan veya uygulama kodundan çağrılmamalıdır. Bunun yerine, bir örneğin bağımlılık ekleme kapsayıcısı tarafından otomatik olarak oluşturulacak ve eklenir olması için oluşturucuda bu türü kullanın. Bazı bağımlı hizmetlerin değiştir olduğu bir örnek oluşturmak için önce bağımlılık ekleme kapsayıcısı nesnesini çözümle, ardından 'Ile...' kullanarak seçili hizmetleri değiştirin Yöntemler. Oluşturucuya bu işlemde herhangi bir noktada çağrı yapma.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

Bu, genel API'lerle aynı uyumluluk standartlarına tabi Entity Framework Core altyapıyı destekleyen bir iç API'dir. Herhangi bir sürümde bildirim olmadan değiştirilebilir veya kaldırılabilir. Bunu yalnızca kodunda son derece dikkatli ve bunun yeni bir sürüme güncelleştirilen uygulama hatalarına neden olacağını bilerek Entity Framework Core gerekir.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RelationalDatabaseCreatorDependencies (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.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy executionStrategy, Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger commandLogger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer * Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator * Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategy * Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Sub New (model As IModel, connection As IRelationalConnection, modelDiffer As IMigrationsModelDiffer, migrationsSqlGenerator As IMigrationsSqlGenerator, migrationCommandExecutor As IMigrationCommandExecutor, sqlGenerationHelper As ISqlGenerationHelper, executionStrategy As IExecutionStrategy, executionStrategyFactory As IExecutionStrategyFactory, currentContext As ICurrentDbContext, commandLogger As IRelationalCommandDiagnosticsLogger)

Parametreler

model
IModel
migrationsSqlGenerator
IMigrationsSqlGenerator
migrationCommandExecutor
IMigrationCommandExecutor
sqlGenerationHelper
ISqlGenerationHelper
executionStrategy
IExecutionStrategy
executionStrategyFactory
IExecutionStrategyFactory
currentContext
ICurrentDbContext
Öznitelikler

Şunlara uygulanır