Specification icon indicating copy to clipboard operation
Specification copied to clipboard

Allow specifying QuerySplitBehaviour for specifications

Open ConnerOrth opened this issue 5 years ago • 3 comments

When retrieving one-to-many EFCore starting from v5 allows us to specify whether or not we want to execute the query as a single statement or as a split statement. see: MS docs on split-queries

Currently at the dbcontext-level we are able to set this globally. Would like to be able to set this per specification.

What are your thoughts on this, @ardalis ?

Copied over from Ardalis/Specification.EFCore due to that repo no longer being maintained, and this repo might be more suited to handle this request. @fiseni

ConnerOrth avatar Feb 03 '21 19:02 ConnerOrth

Comments from original ticket, see image below. image

ConnerOrth avatar Feb 03 '21 19:02 ConnerOrth

We will implement this once we sort out issue #78.

fiseni avatar Feb 06 '21 14:02 fiseni

Implemented in version 5.0.3

fiseni avatar Mar 05 '21 21:03 fiseni