ReaderModificationCommandBatch 构造函数

定义

重载

ReaderModificationCommandBatch(ModificationCommandBatchFactoryDependencies)

创建一个新的 ReaderModificationCommandBatch 实例。

ReaderModificationCommandBatch(ModificationCommandBatchFactoryDependencies, Nullable<Int32>)

创建一个新的 ReaderModificationCommandBatch 实例。

ReaderModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)

创建一个新的 ReaderModificationCommandBatch 实例。

ReaderModificationCommandBatch(ModificationCommandBatchFactoryDependencies)

创建一个新的 ReaderModificationCommandBatch 实例。

protected ReaderModificationCommandBatch (Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies dependencies);
new Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch : Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies -> Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch
Protected Sub New (dependencies As ModificationCommandBatchFactoryDependencies)

参数

dependencies
ModificationCommandBatchFactoryDependencies

服务依赖项。

适用于

ReaderModificationCommandBatch(ModificationCommandBatchFactoryDependencies, Nullable<Int32>)

创建一个新的 ReaderModificationCommandBatch 实例。

protected ReaderModificationCommandBatch (Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies dependencies, int? maxBatchSize = default);
new Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch : Microsoft.EntityFrameworkCore.Update.ModificationCommandBatchFactoryDependencies * Nullable<int> -> Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch
Protected Sub New (dependencies As ModificationCommandBatchFactoryDependencies, Optional maxBatchSize As Nullable(Of Integer) = Nothing)

参数

dependencies
ModificationCommandBatchFactoryDependencies

服务依赖项。

maxBatchSize
Nullable<Int32>

最大批大小。 默认为 1000。

适用于

ReaderModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)

创建一个新的 ReaderModificationCommandBatch 实例。

protected ReaderModificationCommandBatch (Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory valueBufferFactoryFactory);
new Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory -> Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch
Protected Sub New (commandBuilderFactory As IRelationalCommandBuilderFactory, sqlGenerationHelper As ISqlGenerationHelper, updateSqlGenerator As IUpdateSqlGenerator, valueBufferFactoryFactory As IRelationalValueBufferFactoryFactory)

参数

commandBuilderFactory
IRelationalCommandBuilderFactory

用于生成命令的生成器。

sqlGenerationHelper
ISqlGenerationHelper

SQL 生成的帮助程序。

updateSqlGenerator
IUpdateSqlGenerator

用于插入、更新和删除命令的 SQL 生成器。

valueBufferFactoryFactory
IRelationalValueBufferFactoryFactory

用于创建工厂的工厂,用于在 ValueBuffer从数据读取器读取时使用 。

适用于