public PsmEfisicoItemCollection FetchByQuery(Query qry) { PsmEfisicoItemCollection coll = new PsmEfisicoItemCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PsmEfisicoItemCollection FetchAll() { PsmEfisicoItemCollection coll = new PsmEfisicoItemCollection(); Query qry = new Query(PsmEfisicoItem.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PsmEfisicoItemCollection FetchByID(object IdPSMEfisicoItems) { PsmEfisicoItemCollection coll = new PsmEfisicoItemCollection().Where("idPSMEfisicoItems", IdPSMEfisicoItems).Load(); return(coll); }