Beispiel #1
0
        public static DataSet GetCompanyPatchListByCompanyID(string CompanyID)
        {
            string where = "CompanyID={0} and ExpireDate > '{1}'";
            string date = DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00";

            return(PatchDAL.GetPatchList(string.Format(where, CompanyID, date)));
        }
Beispiel #2
0
 public static DataSet GetPatchList(string where)
 {
     return(PatchDAL.GetPatchList(where));
 }
Beispiel #3
0
 public static DataSet GetPatchList()
 {
     return(PatchDAL.GetPatchList());
 }
Beispiel #4
0
 public static DataSet GetPatchByID(string id)
 {
     return(PatchDAL.GetPatchList("ID=" + id));
 }