public static int Insert(tblCheck check)
 {
     var db = new dbEcustomEntities(Common.Decrypt(ConfigurationManager.ConnectionStrings["dbEcustomEntities"].ConnectionString, true));
     check.CreateDate = CommonFactory.GetCurrentDate();
     check.ModifedDate = CommonFactory.GetCurrentDate();
     db.AddTotblChecks(check);
     int re = db.SaveChanges();
     db.Connection.Close();
     return re;
 }