v1.4.2
Download the library here
_EF+ Query IncludeOptimized
- ADDED: IncludeOptimizedByPath to allow to specify a string path
- FIXED: Collection now return empty collection instead of null when no data is found (like Include method)
The AllowIncludeSubPath is currently in beta
QueryIncludeOptimizedManager.AllowIncludeSubPath = true;Enabling this property allow to automatically include nested collection
By example
ctx.Lefts
.IncludeOptimized(x => x.Rights.SelectMany(y => y.Rights));will be transformed into
ctx.Lefts
.IncludeOptimized(x => x.Rights);
.IncludeOptimized(x => x.Rights.SelectMany(y => y.Rights));