Exemplo n.º 1
0
        public void GZLZH(string IDs)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.GZLZH(IDs);
            });
        }
Exemplo n.º 2
0
        public void RemoveUser(int userID, int ouID)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.RemoveUser(userID, ouID);
            });
        }
Exemplo n.º 3
0
        public void SaveGZLData(YljxflgzlInfo info)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.SaveGZLData(info);
            });
        }
Exemplo n.º 4
0
        public void Truncate(string flag)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.Truncate(flag);
            });
        }
Exemplo n.º 5
0
        public void DeleteByFlag(string IDs, string flag)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.DeleteByFlag(IDs, flag);
            });
        }
Exemplo n.º 6
0
        public List <OUInfo> GetOUsByUser(int userID)
        {
            List <OUInfo>        result  = null;
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetOUsByUser(userID);
            });
            return(result);
        }
Exemplo n.º 7
0
        public List <OUInfo> GetGroupCompany()
        {
            List <OUInfo>        result  = null;
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetGroupCompany();
            });
            return(result);
        }
Exemplo n.º 8
0
        public OUInfo GetTopGroup()
        {
            OUInfo               result  = null;
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetTopGroup();
            });
            return(result);
        }