ReaderModificationCommandBatch 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
服务依赖项。
适用于
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从数据读取器读取时使用 。