共用方式為


RelationalOptionsExtension.WithMinBatchSize(Nullable<Int32>) 方法

定義

建立與這個實例相同的所有選項的新實例,但指定選項已變更。 直接呼叫這個方法並不尋常。 請改用 DbContextOptionsBuilder

public virtual Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension WithMinBatchSize (int? minBatchSize);
abstract member WithMinBatchSize : Nullable<int> -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
override this.WithMinBatchSize : Nullable<int> -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalOptionsExtension
Public Overridable Function WithMinBatchSize (minBatchSize As Nullable(Of Integer)) As RelationalOptionsExtension

參數

minBatchSize
Nullable<Int32>

要變更的選項。

傳回

選項已變更的新實例。

適用於