| QuerySpecCoerceToScalarQuery Method  | 
 
            Coerces this query to a scalar query expression
            
 
    Namespace: 
   SD.LLBLGen.Pro.QuerySpec
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntaxprotected virtual ScalarQueryExpression CoerceToScalarQuery(
	bool wrapInDerivedTable
)
Protected Overridable Function CoerceToScalarQuery ( 
	wrapInDerivedTable As Boolean
) As ScalarQueryExpression
Parameters
- wrapInDerivedTable
 - Type: SystemBoolean
if set to true it will wrap the query in a derived table, otherwise it will simply use the first
            field of the projection as the select field. 
Return Value
Type: 
ScalarQueryExpression
See Also