public AprActualPatologiaEmbarazoCollection FetchByQuery(Query qry) { AprActualPatologiaEmbarazoCollection coll = new AprActualPatologiaEmbarazoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprActualPatologiaEmbarazoCollection FetchAll() { AprActualPatologiaEmbarazoCollection coll = new AprActualPatologiaEmbarazoCollection(); Query qry = new Query(AprActualPatologiaEmbarazo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }