public List <TEntity> GetListEntitiesWithPagingBySql <TEntity>(string strSql, int pageIndex, int pageSize) where TEntity : class { OracleDAO dao = new OracleDAO(conn); return(dao.GetListEntitiesWithPaging <TEntity>(strSql, pageIndex, pageSize)); }