I'd like to disable lazy loading for some selects (so data is not loaded by using navigation properties and returns null or an empty collection instead).
Is there an option to disable lazy loading on per request basis?
if no, how can I disable it completely for a Db context?
Disabling Lazy Loading for SqlServer
Re: Disabling Lazy Loading for SqlServer
You can do that at the DataContext level: https://www.devart.com/linqconnect/docs ... abled.html.