RelationalDbContextOptionsBuilder<TBuilder,TExtension>.UseQuerySplittingBehavior Method

Definition

Configures the QuerySplittingBehavior to use when loading related collections in a query.

public virtual TBuilder UseQuerySplittingBehavior (Microsoft.EntityFrameworkCore.QuerySplittingBehavior querySplittingBehavior);
abstract member UseQuerySplittingBehavior : Microsoft.EntityFrameworkCore.QuerySplittingBehavior -> 'Builder
override this.UseQuerySplittingBehavior : Microsoft.EntityFrameworkCore.QuerySplittingBehavior -> 'Builder
Public Overridable Function UseQuerySplittingBehavior (querySplittingBehavior As QuerySplittingBehavior) As TBuilder

Parameters

querySplittingBehavior
QuerySplittingBehavior

Returns

TBuilder

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

Remarks

See EF Core split queries for more information.

Applies to