Esempio n. 1
0
        /// <summary>
        /// Search Translation for word or sentence  or part from
        /// </summary>
        public static List <iQuranSearch> iSearch_GetPage_Translation_ByWordSentence(int siteId, int quranID, int strtSuraID, int endSuraID, int strtVerseOrder, int endVerseOrder,
                                                                                     string TextSearchWord, int pageNumber, int pageSize, out int totalPages)
        {
            totalPages = 1;
            IDataReader reader = DBiQuran.iSearch_GetPage_Translation_ByWordSentence(siteId, quranID, strtSuraID, endSuraID, strtVerseOrder, endVerseOrder,
                                                                                     TextSearchWord, pageNumber, pageSize, out totalPages);

            return(LoadListFromReader(reader, 0, true));
        }