Click or drag to resize
DataAccessAdapterCoreExecuteScalarQuery Method
Executes the passed in query as a scalar query and returns the value returned from this scalar execution.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public virtual Object ExecuteScalarQuery(
	IRetrievalQuery queryToExecute
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIRetrievalQuery
a scalar query, which is a SELECT query which returns a single value

Return Value

Type: Object
the scalar value returned from the query.

Implements

IDataAccessAdapterExecuteScalarQuery(IRetrievalQuery)
See Also