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

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

8 Examples 7

1. Example

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

2. Example

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

3. Example

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

4. Example

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

5. Example

View license
public static SqlCeDataReader ExecuteReader(this SqlCeConnection @this, string cmdText)
    {
        return @this.ExecuteReader(cmdText, null, CommandType.Text, null);
    }

6. Example

View license
public static SqlCeDataReader ExecuteReader(this SqlCeConnection @this, string cmdText, SqlCeTransaction transaction)
    {
        return @this.ExecuteReader(cmdText, null, CommandType.Text, transaction);
    }

7. Example

View license
public static SqlCeDataReader ExecuteReader(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters)
    {
        return @this.ExecuteReader(cmdText, parameters, CommandType.Text, null);
    }

8. Example

View license
public static SqlCeDataReader ExecuteReader(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters, SqlCeTransaction transaction)
    {
        return @this.ExecuteReader(cmdText, parameters, CommandType.Text, transaction);
    }