예제 #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);
        }