public SysServicioCollection FetchByQuery(Query qry) { SysServicioCollection coll = new SysServicioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysServicioCollection FetchAll() { SysServicioCollection coll = new SysServicioCollection(); Query qry = new Query(SysServicio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysServicioCollection FetchByID(object IdServicio) { SysServicioCollection coll = new SysServicioCollection().Where("idServicio", IdServicio).Load(); return(coll); }