public ConDemandaCollection FetchByQuery(Query qry) { ConDemandaCollection coll = new ConDemandaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ConDemandaCollection FetchAll() { ConDemandaCollection coll = new ConDemandaCollection(); Query qry = new Query(ConDemanda.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }