SqlHelper..::..ExecuteReader Method

Overload List


  Name Description
Public method Static member ExecuteReader(String, CommandType, String)
Execute a SqlCommand (that returns a resultset and takes no parameters) against the database specified in the connection string.
Public method Static member ExecuteReader(String, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns a resultset) against the database specified in the connection string using the provided parameters.
Public method Static member ExecuteReader(String, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns a resultset) against the database specified in the connection string using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
Public method Static member ExecuteReader(SqlConnection, CommandType, String)
Execute a SqlCommand (that returns a resultset and takes no parameters) against the provided SqlConnection.
Public method Static member ExecuteReader(SqlConnection, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns a resultset) against the specified SqlConnection using the provided parameters.
Public method Static member ExecuteReader(SqlConnection, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns a resultset) against the specified SqlConnection using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.
Public method Static member ExecuteReader(SqlTransaction, CommandType, String)
Execute a SqlCommand (that returns a resultset and takes no parameters) against the provided SqlTransaction.
Public method Static member ExecuteReader(SqlTransaction, CommandType, String, array<SqlParameter>[]()[][])
Execute a SqlCommand (that returns a resultset) against the specified SqlTransaction using the provided parameters.
Public method Static member ExecuteReader(SqlTransaction, String, array<Object>[]()[][])
Execute a stored procedure via a SqlCommand (that returns a resultset) against the specified SqlTransaction using the provided parameter values. This method will query the database to discover the parameters for the stored procedure (the first time each stored procedure is called), and assign the values based on parameter order.