예제 #1
0
        public ConDemandaCollection FetchByQuery(Query qry)
        {
            ConDemandaCollection coll = new ConDemandaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public ConDemandaCollection FetchAll()
        {
            ConDemandaCollection coll = new ConDemandaCollection();
            Query qry = new Query(ConDemanda.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }