SnapDAL Library Documentation

DataFactory.ExecuteScalar Method (String, HybridDictionary, Int32, IDbTransaction)

Execute the given statement and return a single value

public object ExecuteScalar(
   string statementName,
   HybridDictionary parms,
   ref int returnVal,
   IDbTransaction transaction
);

Parameters

statementName
Name of the statement
parms
HybridDictionary of input parameters
returnVal
An optional return value
transaction
The transaction this statement is under

Return Value

The return result of the statement

Implements

IDataLayer.ExecuteScalar

See Also

DataFactory Class | SnapDAL Namespace | DataFactory.ExecuteScalar Overload List