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.5.0.0 (5.5.18.1019)
Syntax protected virtual Object PostProcessQueryResult(
Object results,
Type resultType,
bool forceReturnSingleValue
)
Protected Overridable Function PostProcessQueryResult (
results As Object,
resultType As Type,
forceReturnSingleValue As Boolean
) As Object
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