public AprEmbarazoCollection FetchByQuery(Query qry) { AprEmbarazoCollection coll = new AprEmbarazoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprEmbarazoCollection FetchAll() { AprEmbarazoCollection coll = new AprEmbarazoCollection(); Query qry = new Query(AprEmbarazo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprEmbarazoCollection FetchByID(object IdEmbarazo) { AprEmbarazoCollection coll = new AprEmbarazoCollection().Where("idEmbarazo", IdEmbarazo).Load(); return(coll); }