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); }
public ConDemandaCollection FetchByID(object IdDemanda) { ConDemandaCollection coll = new ConDemandaCollection().Where("idDemanda", IdDemanda).Load(); return(coll); }