RelationalDbContextOptionsBuilder<TBuilder,TExtension>.MinBatchSize Method
Definition
Important
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 minimum number of statements that are needed for a multi-statement command sent to the database during SaveChanges().
public virtual TBuilder MinBatchSize (int minBatchSize);
abstract member MinBatchSize : int -> 'Builder
override this.MinBatchSize : int -> 'Builder
Public Overridable Function MinBatchSize (minBatchSize As Integer) As TBuilder
Parameters
- minBatchSize
- Int32
The minimum number of statements.
Returns
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för