System.Data.Common.DbConnection.ExecuteReader(string, System.Data.Common.DbParameter[], System.Data.CommandType, System.Data.Common.DbTransaction)

Here are the examples of the csharp api class System.Data.Common.DbConnection.ExecuteReader(string, System.Data.Common.DbParameter[], System.Data.CommandType, System.Data.Common.DbTransaction) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

1. Example

View license
public static DbDataReader ExecuteReader(this DbConnection @this, string cmdText, CommandType commandType)
    {
        return @this.ExecuteReader(cmdText, null, commandType, null);
    }

2. Example

View license
public static DbDataReader ExecuteReader(this DbConnection @this, string cmdText, CommandType commandType, DbTransaction transaction)
    {
        return @this.ExecuteReader(cmdText, null, commandType, transaction);
    }

3. Example

View license
public static DbDataReader ExecuteReader(this DbConnection @this, string cmdText, DbParameter[] parameters, CommandType commandType)
    {
        return @this.ExecuteReader(cmdText, parameters, commandType, null);
    }