RelationalDbContextOptionsBuilder<TBuilder,TExtension>.MinBatchSize Method

Definition

Configures the minimum number of statements that are needed for a multi-statement command sent to the database during SaveChanges().

C#
public virtual TBuilder MinBatchSize (int minBatchSize);

Parameters

minBatchSize
Int32

The minimum number of statements.

Returns

TBuilder

The same builder instance so that multiple calls can be chained.

Remarks

See Saving data with EF Core for more information and examples.

Applies to

Proizvod Verzije
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0