语言

AffectedCountModificationCommandBatch 构造函数

定义

重载

AffectedCountModificationCommandBatch(ModificationCommandBatchFactoryDependencies)

Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs

创建新的 AffectedCountModificationCommandBatch 实例。

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

参数

dependencies
ModificationCommandBatchFactoryDependencies

服务依赖项。

适用于

AffectedCountModificationCommandBatch(ModificationCommandBatchFactoryDependencies, Nullable<Int32>)

Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs

创建新的 AffectedCountModificationCommandBatch 实例。

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

参数

dependencies
ModificationCommandBatchFactoryDependencies

服务依赖项。

maxBatchSize
Nullable<Int32>

最大批量。 默认值为1000。

适用于

AffectedCountModificationCommandBatch(IRelationalCommandBuilderFactory, ISqlGenerationHelper, IUpdateSqlGenerator, IRelationalValueBufferFactoryFactory)

Source:
AffectedCountModificationCommandBatch.cs
Source:
AffectedCountModificationCommandBatch.cs

创建新的 AffectedCountModificationCommandBatch 实例。

protected AffectedCountModificationCommandBatch(Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory commandBuilderFactory, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper, Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator updateSqlGenerator, Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory valueBufferFactoryFactory);
new Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch : Microsoft.EntityFrameworkCore.Storage.IRelationalCommandBuilderFactory * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper * Microsoft.EntityFrameworkCore.Update.IUpdateSqlGenerator * Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory -> Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch
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数据读取器读取时使用的工厂的工厂。

适用于