SqlHelper..::..ExecuteDataset Method (SqlTransaction, CommandType, String)
Execute a SqlCommand (that returns a resultset and takes no parameters) against the provided SqlTransaction.
Namespace:
CoreAssembly: Core (in Core.dll)
Syntax
public static DataSet ExecuteDataset( SqlTransaction transaction, CommandType commandType, string commandText )
Parameters
- transaction
- Type: SqlTransaction
A valid SqlTransaction
- commandType
- Type: CommandType
The CommandType (stored procedure, text, etc.)
- commandText
- Type: String
The stored procedure name or T-SQL command