NSoft.NFramework.Data.PostgreSql.EnterpriseLibrary.NpgsqlDatabase.ExecuteReader C# (CSharp) Method

ExecuteReader() public method

Executes the storedProcedureName with the given parameterValues within the given transaction and returns an through which the result can be read. It is the responsibility of the caller to close the connection and reader when finished.
public ExecuteReader ( DbTransaction transaction, string storedProcedureName ) : IDataReader
transaction System.Data.Common.DbTransaction The to execute the command within.
storedProcedureName string The command that contains the query to execute.
return IDataReader
        public new IDataReader ExecuteReader(DbTransaction transaction, string storedProcedureName, params object[] parameterValues) {
            return parameterValues.Length == 0
                       ? base.ExecuteReader(transaction, CommandType.StoredProcedure, storedProcedureName)
                       : base.ExecuteReader(transaction, storedProcedureName, parameterValues);
        }

Same methods

NpgsqlDatabase::ExecuteReader ( string storedProcedureName ) : IDataReader