Пример #1
0
        public ConConsultumCollection FetchByQuery(Query qry)
        {
            ConConsultumCollection coll = new ConConsultumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public ConConsultumCollection FetchAll()
        {
            ConConsultumCollection coll = new ConConsultumCollection();
            Query qry = new Query(ConConsultum.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public ConConsultumCollection FetchByID(object IdConsulta)
        {
            ConConsultumCollection coll = new ConConsultumCollection().Where("idConsulta", IdConsulta).Load();

            return(coll);
        }