Execute a stored procedure via a Command (that returns a resultset and takes no parameters) against the provided Transaction.
A DataReader containing the resultset generated by the command
This method does not close the transaction created. You must close the transaction when you have finished to work with the reader.
IDbTransaction transaction = null; SqlDataReader dr = (SqlDataReader)ExecuteReader(out transaction, "GetOrders"); /* Do work */ dr.Close(); dr.Dispose(); transaction.Close();
GenericDataHelper Class | DotnetProject.Data Namespace | GenericDataHelper.ExecuteReaderTransactional Overload List