ScopeHandlerBaseDefaultHandler Method |
The default handler for a linq expression if there's no handler available.
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses.ScopeHandlers
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected virtual void DefaultHandler(
Expression toHandle
)
Protected Overridable Sub DefaultHandler (
toHandle As Expression
)
Parameters
- toHandle
- Type: System.Linq.ExpressionsExpression
To handle.
Remarks per scope handler this default handler should have either exception throw actions or no-ops. If code ends up here, it
in general suggests either: the expression can be ignored (not likely) or an expression was encountered in a part of the tree where it was
unexpected. By default this method throws an ORMQueryConstructionException and is called by all expression handle methods in this base class.
See Also