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); }
public FacOrdenLaboratorioCollection FetchByID(object IdOrdenLaboratorio) { FacOrdenLaboratorioCollection coll = new FacOrdenLaboratorioCollection().Where("idOrdenLaboratorio", IdOrdenLaboratorio).Load(); return(coll); }