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