Enum ImplicitCollectionLoading
- Namespace
- LinqToDB
- Assembly
- linq2db.dll
Controls whether a collection projected without an explicit eager-load request — i.e. without
LoadWith/ThenLoad or a WithUnionLoadStrategy/WithKeyedLoadStrategy/WithSeparateLoadStrategy
marker — is allowed. Set via ImplicitCollectionLoading.
public enum ImplicitCollectionLoading
- Extension Methods
Fields
Allow = 0Implicit collection loading is allowed: a collection projected in a
Selectwithout an explicit eager-load request is loaded as usual. This is the default.Throw = 1Implicit collection loading is rejected: such a query throws LinqToDBException at build time. Request the load explicitly with
LoadWith/ThenLoad, or opt the whole query in with aWith*LoadStrategymarker.