System.Data.Common.DbConnection.ExecuteEntity(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.ExecuteEntity(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 T ExecuteEntity<T>(this DbConnection @this, string cmdText, CommandType commandType) where T : new()
    {
        return @this.ExecuteEntity<T>(cmdText, null, commandType, null);
    }

2. Example

View license
public static T ExecuteEntity<T>(this DbConnection @this, string cmdText, CommandType commandType, DbTransaction transaction) where T : new()
    {
        return @this.ExecuteEntity<T>(cmdText, null, commandType, transaction);
    }

3. Example

View license
public static T ExecuteEntity<T>(this DbConnection @this, string cmdText, DbParameter[] parameters, CommandType commandType) where T : new()
    {
        return @this.ExecuteEntity<T>(cmdText, parameters, commandType, null);
    }