RelationalOptionsExtension.WithMaxBatchSize(Nullable<Int32>) Yöntem

Tanım

Bu örnekle aynı tüm seçeneklere sahip yeni bir örnek oluşturur, ancak belirtilen seçenek değiştirilmiştir. Bu yöntemi doğrudan çağırma olağan dışıdır. Bunun yerine DbContextOptionsBuilder kullanın.

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

Parametreler

maxBatchSize
Nullable<Int32>

Değiştirme seçeneği.

Döndürülenler

RelationalOptionsExtension

seçeneği değiştirilmiş yeni bir örnek.

Şunlara uygulanır