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