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