public static object GetScalar(string sql, bool isStoreProcedure = true, object[] parms = null) { return(DbCore.GetScalar(sql, connectionString, isStoreProcedure, parms)); }
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)); }
public static DataTable ReadDataTable(string sql, bool isStoreProcedure = true, object[] parms = null) { return(DbCore.ReadDataTable(sql, connectionString, isStoreProcedure, parms)); }
public static int ExecuteNonQuery(string sql, bool isStoreProcedure = true, object[] parms = null) { return(DbCore.ExecuteNonQuery(sql, connectionString, isStoreProcedure, parms)); }