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.2.0.0+da7797057e6d5ef3b02633ee3e36991921c726cb
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