public RemEstudioOcularCollection FetchByQuery(Query qry) { RemEstudioOcularCollection coll = new RemEstudioOcularCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemEstudioOcularCollection FetchAll() { RemEstudioOcularCollection coll = new RemEstudioOcularCollection(); Query qry = new Query(RemEstudioOcular.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemEstudioOcularCollection FetchByID(object IdEstudioOcular) { RemEstudioOcularCollection coll = new RemEstudioOcularCollection().Where("idEstudioOcular", IdEstudioOcular).Load(); return(coll); }