コード例 #1
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public void GZLZH(string IDs)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.GZLZH(IDs);
            });
        }
コード例 #2
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public void RemoveUser(int userID, int ouID)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.RemoveUser(userID, ouID);
            });
        }
コード例 #3
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public void SaveGZLData(YljxflgzlInfo info)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.SaveGZLData(info);
            });
        }
コード例 #4
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public void Truncate(string flag)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.Truncate(flag);
            });
        }
コード例 #5
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public void DeleteByFlag(string IDs, string flag)
        {
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                service.DeleteByFlag(IDs, flag);
            });
        }
コード例 #6
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        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);
        }
コード例 #7
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        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);
        }
コード例 #8
0
ファイル: OuCaller.cs プロジェクト: zhang371615527/ces
        public OUInfo GetTopGroup()
        {
            OUInfo               result  = null;
            IOuService           service = this.CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

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