RelationalDbContextOptionsBuilder<TBuilder,TExtension>.UseQuerySplittingBehavior 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 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 and examples.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework