Click or drag to resize

LLBLGenProProviderBasePostProcessQueryResult Method

Postprocesses the query result passed in. it will determine whether it will return a single value or the complete resultset. This is required as some queries have implicit single value returns, while the results are e.g. in an IList construct.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
protected virtual Object PostProcessQueryResult(
	Object results,
	Type resultType,
	bool forceReturnSingleValue
)

Parameters

results
Type: SystemObject
The results.
resultType
Type: SystemType
Type of the result.
forceReturnSingleValue
Type: SystemBoolean
if set to true it will always return a single value. True if e.g. Single() or First() is called.

Return Value

Type: Object
the post-processing result
See Also