public PsmEFisicoCollection FetchByQuery(Query qry) { PsmEFisicoCollection coll = new PsmEFisicoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PsmEFisicoCollection FetchAll() { PsmEFisicoCollection coll = new PsmEFisicoCollection(); Query qry = new Query(PsmEFisico.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PsmEFisicoCollection FetchByID(object IdPSMEFisico) { PsmEFisicoCollection coll = new PsmEFisicoCollection().Where("idPSMEFisico", IdPSMEFisico).Load(); return(coll); }