Пример #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);
        }
Пример #3
0
        public ConDemandaCollection FetchByID(object IdDemanda)
        {
            ConDemandaCollection coll = new ConDemandaCollection().Where("idDemanda", IdDemanda).Load();

            return(coll);
        }