Dotnet-Project Framework documentation.

GenericDataHelper.ExecuteReader Method

Execute a Command (that returns a resultset and takes no parameters) against the database specified.

Overload List

Execute a Command (that returns a resultset and takes no parameters) against the database specified.

public static IDataReader ExecuteReader(out IDbConnection,CommandType,string);

Execute a Command (that returns a resultset) against the database using the provided parameters.

public static IDataReader ExecuteReader(out IDbConnection,CommandType,string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns a resultset and takes no parameters) against the database specified.

public static IDataReader ExecuteReader(out IDbConnection,string);

Execute a stored procedure via a Command (that returns a resultset) against the database using the provided parameters.

public static IDataReader ExecuteReader(out IDbConnection,string,params IDataParameter[]);

Execute a stored procedure via a Command (that returns a resultset) against the database 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 static IDataReader ExecuteReader(out IDbConnection,string,params object[]);

See Also

GenericDataHelper Class | DotnetProject.Data Namespace