public AprInicioEmbarazoCollection FetchByQuery(Query qry) { AprInicioEmbarazoCollection coll = new AprInicioEmbarazoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprInicioEmbarazoCollection FetchAll() { AprInicioEmbarazoCollection coll = new AprInicioEmbarazoCollection(); Query qry = new Query(AprInicioEmbarazo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AprInicioEmbarazoCollection FetchByID(object IdInicioEmabarazo) { AprInicioEmbarazoCollection coll = new AprInicioEmbarazoCollection().Where("idInicioEmabarazo", IdInicioEmabarazo).Load(); return(coll); }