예제 #1
0
 public IList <SuMenu> FindBySuMenuCriteria(SuMenu criteria, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <SuMenu>(DaoProvider.SuMenuDao, "FindBySuMenuCriteria", new object[] { criteria }, firstResult, maxResults, sortExpression));
 }
 public IList <SuAnnouncement> FindBySuAnnouncementCriteria(SuAnnouncement announcementCriteria, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <SuAnnouncement>(DaoProvider.SuAnnouncementDao, "FindBySuAnnouncementCriteria", new object[] { announcementCriteria }, firstResult, maxResults, sortExpression));
 }
 public IList <ProgramLang> FindBySuProgramLangQuery(SuProgramLang criteria, short roleId, short languageId, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <ProgramLang>(DaoProvider.SuProgramLangDao, "FindBySuProgramLangQuery", new object[] { criteria, roleId, languageId, false }, firstResult, maxResults, sortExpression));
 }
예제 #4
0
 public IList <DocumentAttachment> FindByActive(DocumentAttachment criteria, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <DocumentAttachment>(ScgeAccountingDaoProvider.DocumentAttachmentDao, "FindByActive", new object[] { criteria }, firstResult, maxResults, sortExpression));
 }
예제 #5
0
 //public IList<DbCountryLang> FindByDbCountryLangCriteria(DbCountryLang criteria, int firstResult, int maxResults, string sortExpression)
 //{
 //    return NHibernateDaoHelper.FindPagingByCriteria<DbCountryLang>(ScgDbDaoProvider.DbCountryLangDao, "FindByDbCountryLangCriteria", new object[] { criteria }, firstResult, maxResults, sortExpression);
 //}
 public IList <DbCountryLang> FindByDbCountryLangQuery(DbCountryLang criteria, short countryId, short languageId, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <DbCountryLang>(ScgDbDaoProvider.DbCountryLangDao, "FindByDbCountryLangQuery", new object[] { criteria, countryId, languageId }, firstResult, maxResults, sortExpression));
 }
 public IList <SuDivision> FindDivisionByOrganization(SuOrganization criteria, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <SuDivision>(DaoProvider.SuDivisionDao, "FindByOrganizationCriteria", new object[] { criteria, false }, firstResult, maxResults, sortExpression));
 }
예제 #7
0
 public IList <DbStatus> FindByDbStatusCriteria(DbStatus criteria, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <DbStatus>(SsDbDaoProvider.DbStatusDao, "FindBySuGolbalTranslateCriteria", new object[] { criteria }, firstResult, maxResults, sortExpression));
 }
 public IList <FnReceiptTypeResult> FindByFnReceiptTypeCriteria(string accNo, short languageId, int firstResult, int maxResults, string sortExpression)
 {
     return(NHibernateDaoHelper.FindPagingByCriteria <FnReceiptTypeResult>(DaoProvider.FnReceiptTypeDao, "FindGlAccountByCriteria", new object[] { accNo, languageId }, firstResult, maxResults, sortExpression));
 }