DbContext Options Builder<TBuilder,TExtension>.Max Batch Size Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the maximum number of statements that will be included in commands sent to the database during SaveChanges().
public virtual TBuilder MaxBatchSize (int maxBatchSize);
abstract member MaxBatchSize : int -> 'Builder override this.MaxBatchSize : int -> 'Builder
Public Overridable Function MaxBatchSize (maxBatchSize As Integer) As TBuilder
The maximum number of statements.
The same builder instance so that multiple calls can be chained.
See Saving data with EF Core for more information and examples.