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);
        }
        public SysEstablecimientoCollection FetchByID(object IdEstablecimiento)
        {
            SysEstablecimientoCollection coll = new SysEstablecimientoCollection().Where("idEstablecimiento", IdEstablecimiento).Load();

            return(coll);
        }