public SysMedicamentoRubroCollection FetchByQuery(Query qry) { SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMedicamentoRubroCollection FetchAll() { SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection(); Query qry = new Query(SysMedicamentoRubro.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysMedicamentoRubroCollection FetchByID(object IdMedicamentoRubro) { SysMedicamentoRubroCollection coll = new SysMedicamentoRubroCollection().Where("idMedicamentoRubro", IdMedicamentoRubro).Load(); return(coll); }