Here are the examples of the csharp api class System.Data.Common.DbConnection.ExecuteEntity(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
0
1. Example
View licensepublic static T ExecuteEntity<T>(this DbConnection @this, string cmdText) where T : new() { return @this.ExecuteEntity<T>(cmdText, null, CommandType.Text, null); }
0
2. Example
View licensepublic static T ExecuteEntity<T>(this DbConnection @this, string cmdText, DbTransaction transaction) where T : new() { return @this.ExecuteEntity<T>(cmdText, null, CommandType.Text, transaction); }
0
3. Example
View licensepublic static T ExecuteEntity<T>(this DbConnection @this, string cmdText, DbParameter[] parameters) where T : new() { return @this.ExecuteEntity<T>(cmdText, parameters, CommandType.Text, null); }
0
4. Example
View licensepublic static T ExecuteEntity<T>(this DbConnection @this, string cmdText, DbParameter[] parameters, DbTransaction transaction) where T : new() { return @this.ExecuteEntity<T>(cmdText, parameters, CommandType.Text, transaction); }
0
5. Example
View licensepublic static T ExecuteEntity<T>(this SqlCeConnection @this, string cmdText) where T : new() { return @this.ExecuteEntity<T>(cmdText, null, CommandType.Text, null); }
0
6. Example
View licensepublic static T ExecuteEntity<T>(this SqlCeConnection @this, string cmdText, SqlCeTransaction transaction) where T : new() { return @this.ExecuteEntity<T>(cmdText, null, CommandType.Text, transaction); }
0
7. Example
View licensepublic static T ExecuteEntity<T>(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters) where T : new() { return @this.ExecuteEntity<T>(cmdText, parameters, CommandType.Text, null); }
0
8. Example
View licensepublic static T ExecuteEntity<T>(this SqlCeConnection @this, string cmdText, SqlCeParameter[] parameters, SqlCeTransaction transaction) where T : new() { return @this.ExecuteEntity<T>(cmdText, parameters, CommandType.Text, transaction); }