public static string SqlDelete(this HRMDB_Entities db, string name, int id) { return(db.Database.SqlDelete(name, id)); }
public static int SqlExecute(this HRMDB_Entities db, string query, params object[] parameters) { return(db.Database.SqlExecute(query, parameters)); }
public static DataTable SqlQuery(this HRMDB_Entities db, string sql, params object[] parameters) { return(db.Database.SqlQuery(sql, parameters)); }
public static string SqlUpdate(this HRMDB_Entities db, string name, NameValueCollection form) { return(db.Database.SqlUpdate(name, form)); }
public ActionResult TK_DayDu() { ViewBag.db = db; ViewBag.db0 = db0 = new HRMDB_Entities(); return(View()); }