LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / MaxBatchSize Property

In This Topic
    MaxBatchSize Property
    In This Topic
    Gets or sets the max number of queries, united in the batch for speeding up the SubmitChanges operation.
    Syntax
    'Declaration
     
    Public Property MaxBatchSize As Integer
    public int MaxBatchSize {get; set;}

    Property Value

    The max number of queries, united in the batch.
    Remarks
    This property controls grouping several INSERT/UPDATE/DELETE statements into one SQL block and merging their parameters. It allows increasing SubmitChanges performance substantially because of reducing number of server calls.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also