Exemplo n.º 1
0
        /// <summary>
        /// Search Arabic Quran for word as a part from word
        /// </summary>
        public static List <iQuranSearch> iSearch_GetPage_Default_ByWordSentence(string searchCriteria, 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_Default_ByWordSentence(searchCriteria, siteId, quranID, strtSuraID, endSuraID, strtVerseOrder, endVerseOrder,
                                                                                 TextSearchWord, pageNumber, pageSize, out totalPages);

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