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