public AprProblemasMenorCollection FetchByQuery(Query qry) { AprProblemasMenorCollection coll = new AprProblemasMenorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprProblemasMenorCollection FetchAll() { AprProblemasMenorCollection coll = new AprProblemasMenorCollection(); Query qry = new Query(AprProblemasMenor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprProblemasMenorCollection FetchByID(object IdProblemaMenor) { AprProblemasMenorCollection coll = new AprProblemasMenorCollection().Where("idProblemaMenor", IdProblemaMenor).Load(); return(coll); }