Execute a Command (that returns a resultset) against the specified Transaction using the provided parameters.
An XmlReader 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 XmlReader.
IDbTransaction transation = null;
XmlReader r = ExecuteXmlReader(out transaction, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24));
/* Do work */
r.Close();
transation.Close();
GenericDataHelper Class | DotnetProject.Data Namespace | GenericDataHelper.ExecuteXmlReaderTransactional Overload List