示例#1
0
        public static List <BarduckCRM.S_EsnekKayitQueryCalistir_Result> EsnekKayitlar(int QueryID, int KayitID)
        {
            List <BarduckCRM.S_EsnekKayitQueryCalistir_Result> list = new List <S_EsnekKayitQueryCalistir_Result>();
            string query = DB.S_EsnekKayitQuery(QueryID).FirstOrDefault().Query.Replace("#KayitID#", KayitID.ToString()).Replace("#DilID#", "1");

            if (query.Trim() != "")
            {
                list = DB.S_EsnekKayitQueryCalistir(query, -1, -1).ToList();
            }

            return(list);
        }