Exemplo n.º 1
0
        /// <summary>
        /// Search By Criteria - iSura version instances as IList with paging
        /// </summary>
        /// <param name="WithVerses"> used to retrive the SuraVerse - Verse - instances of the Sura </param>
        /// <param name="siteId"></param>
        /// <param name="quranID"></param>
        /// <param name="isActive"></param>
        /// <param name="pageNumber"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalPages"></param>
        /// <returns></returns>
        public static List <QuranSura> GetPage_iSura_ByActive(bool WithVerses, int siteId, int quranID, bool isActive, int pageNumber, int pageSize, out int totalPages)
        {
            totalPages = 1;
            IDataReader reader = DBiQuran.iSura_GetPage_ByActive(siteId, quranID, isActive, pageNumber, pageSize, out totalPages);

            return(LoadListFromReader(reader, WithVerses));
        }