| LinqUtilsWrapProjectionElementInSelectIfRequired Method  | 
 
            Wraps the projection element in select passed in if required. This is necessary if the expression is an entity expression and it has a correlationrelation
            which means that the projection element contains a reference to a related entity which will result in a nested query.
            
 
    Namespace: 
   SD.LLBLGen.Pro.LinqSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntaxpublic static Expression WrapProjectionElementInSelectIfRequired(
	Expression toCheck
)
Public Shared Function WrapProjectionElementInSelectIfRequired ( 
	toCheck As Expression
) As Expression
Parameters
- toCheck
 - Type: System.Linq.ExpressionsExpression
To check. 
Return Value
Type: 
Expression
See Also