Example #1
0
 public static DataTable GetCompanyProjects(int CompanyID, bool IsDeleted)
 {
     PIKCV.DAL.CustomProjects obj = new PIKCV.DAL.CustomProjects();
     obj.Where.CompanyID.Value = CompanyID;
     obj.Where.IsDeleted.Value = IsDeleted;
     obj.Query.AddOrderBy("CreateDate", PIKCV.DAO.WhereParameter.Dir.DESC);
     obj.Query.Load();
     return(obj.DefaultView.ToTable());
 }
Example #2
0
 public static DataTable GetCompanyProjectDetail(int CustomProjectID, PIKCV.COM.EnumDB.LanguageID LanguageID, bool IsDeleted)
 {
     PIKCV.DAL.CustomProjects obj = new PIKCV.DAL.CustomProjects();
     return(obj.GetCompanyProjectDetail(CustomProjectID, (int)LanguageID, IsDeleted));
 }