public RemInternacionCollection FetchByQuery(Query qry) { RemInternacionCollection coll = new RemInternacionCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemInternacionCollection FetchAll() { RemInternacionCollection coll = new RemInternacionCollection(); Query qry = new Query(RemInternacion.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public RemInternacionCollection FetchByID(object IdInternacion) { RemInternacionCollection coll = new RemInternacionCollection().Where("idInternacion", IdInternacion).Load(); return(coll); }