Esempio n. 1
0
 public static object GetScalar(string sql, bool isStoreProcedure = true, object[] parms = null)
 {
     return(DbCore.GetScalar(sql, connectionString, isStoreProcedure, parms));
 }
Esempio n. 2
0
 public static List <T> ReadList <T>(string sql, Func <IDataReader, T> make, bool isStoreProcedure = true, object[] parms = null)
 {
     return(DbCore.ReadList(sql, make, connectionString, isStoreProcedure, parms));
 }
Esempio n. 3
0
 public static DataTable ReadDataTable(string sql, bool isStoreProcedure = true, object[] parms = null)
 {
     return(DbCore.ReadDataTable(sql, connectionString, isStoreProcedure, parms));
 }
Esempio n. 4
0
 public static int ExecuteNonQuery(string sql, bool isStoreProcedure = true, object[] parms = null)
 {
     return(DbCore.ExecuteNonQuery(sql, connectionString, isStoreProcedure, parms));
 }