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