TaskDatabaseHelperExecuteScalar(ConnectionType, String, String, DbConnection) Method |
Execute a SQL statement on a connection and return the first column of the first row of the result
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic Object ExecuteScalar(
ConnectionType connectionType,
string connectionString,
string sql,
DbConnection openConnection = null
)
Parameters
- connectionType ConnectionType
-
- connectionString String
-
- sql String
-
- openConnection DbConnection (Optional)
-
Return Value
Object
See Also