Sprache

RelationalOptionsExtension.WithMinBatchSize(Nullable<Int32>) Methode

Definition

Erstellt eine neue Instanz mit allen Optionen, die mit dieser Instanz identisch sind, aber mit der angegebenen Option geändert wurde. Es ist ungewöhnlich, diese Methode direkt aufzurufen. Verwenden Sie stattdessen 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

Parameter

minBatchSize
Nullable<Int32>

Die Option zum Ändern.

Gibt zurück

Eine neue Instanz mit geänderter Option.

Gilt für: