RelationalOptionsExtension.MaxBatchSize Property

Definition

The maximum number of statements that will be included in commands sent to the database during SaveChanges() or null if none has been set.

C#
public virtual int? MaxBatchSize { get; set; }
C#
public virtual int? MaxBatchSize { get; }

Property Value

Applies to

Product Versions
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0