ModificationCommandBatchFactoryDependencies Oluşturucular

Tanım

Aşırı Yüklemeler

ModificationCommandBatchFactoryDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database>)

bir için hizmet bağımlılıkları parametre nesnesini IModificationCommandBatchFactory 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.

ModificationCommandBatchFactoryDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, ICurrentDbContext, IRelationalCommandDiagnosticsLogger)

bir için hizmet bağımlılıkları parametre nesnesini IModificationCommandBatchFactory 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.

ModificationCommandBatchFactoryDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, ICurrentDbContext, IDiagnosticsLogger<DbLoggerCategory.Database>)

bir için hizmet bağımlılıkları parametre nesnesini IModificationCommandBatchFactory 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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ModificationCommandBatchFactoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory valueBufferFactoryFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, updateSqlGenerator As IUpdateSqlGenerator, valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory, currentContext As ICurrentDbContext, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command))

Parametreler

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper
updateSqlGenerator
IUpdateSqlGenerator
valueBufferFactoryFactory
IRelationalValueBufferFactoryFactory
currentContext
ICurrentDbContext
Öznitelikler

Şunlara uygulanır

ModificationCommandBatchFactoryDependencies(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory, ICurrentDbContext, IRelationalCommandDiagnosticsLogger)

bir için hizmet bağımlılıkları parametre nesnesini IModificationCommandBatchFactory 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.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ModificationCommandBatchFactoryDependencies (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory valueBufferFactoryFactory, Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger logger);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory * Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger -> Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies
Public Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, updateSqlGenerator As IUpdateSqlGenerator, valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory, currentContext As ICurrentDbContext, logger As IRelationalCommandDiagnosticsLogger)

Parametreler

commandBuilderFactory
IRelationalCommandBuilderFactory
sqlGenerationHelper
ISqlGenerationHelper
updateSqlGenerator
IUpdateSqlGenerator
valueBufferFactoryFactory
IRelationalValueBufferFactoryFactory
currentContext
ICurrentDbContext
Öznitelikler

Şunlara uygulanır