Beispiel #1
0
 public DataTable Query(string query, DbParameters parameters) =>
 this.dbProvider.Select(query, parameters).ToDataTable();
Beispiel #2
0
 public object ExecuteScalar(string query, DbParameters parameters = null) =>
 this.dbProvider.ExecuteScalar(query, parameters);
Beispiel #3
0
 public DbSelect Select(string query, DbParameters parameters) =>
 this.dbProvider.Select(query, parameters);
Beispiel #4
0
 public int ExecuteNonQuery(string query, DbParameters parameters = null) =>
 this.dbProvider.ExecuteNonQuery(query, parameters);
Beispiel #5
0
 public Hashtable ExecuteSP(string spName, DbParameters parameters, ref DataTable dataTable, params string[] returnParams) =>
 this.dbProvider.ExecuteSP(spName, parameters, ref dataTable, returnParams);
Beispiel #6
0
 public int Delete(string tableName, string whereCondition, DbParameters parameters) =>
 this.dbProvider.Delete(tableName, whereCondition, parameters);
Beispiel #7
0
 public int Update(string tableName, DbFields values, string whereCondition, DbParameters parameters) =>
 this.dbProvider.Update(tableName, values, whereCondition, parameters);
Beispiel #8
0
 internal DbSelect(IDbProvider provider, string query, DbParameters parameters)
 {
     this.provider   = (DbProviderBase)provider;
     this.query      = query;
     this.parameters = parameters;
 }