Exemplo n.º 1
0
            public override void Finally()
            {
                ProcessNAVOrder     __svc__  = (ProcessNAVOrder)_service;
                __ProcessNAVOrder_1 __ctx1__ = (__ProcessNAVOrder_1)(__svc__._stateMgrs[1]);

                if (__ctx1__ != null && __ctx1__.__NAVOrder != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__NAVOrder);
                    __ctx1__.__NAVOrder = null;
                }
                if (__ctx1__ != null && __ctx1__.__EDIOrder != null)
                {
                    __ctx1__.UnrefMessage(__ctx1__.__EDIOrder);
                    __ctx1__.__EDIOrder = null;
                }
                base.Finally();
            }
Exemplo n.º 2
0
            public override void Finally()
            {
                ProcessNAVOrder          __svc__  = (ProcessNAVOrder)_service;
                __ProcessNAVOrder_root_0 __ctx0__ = (__ProcessNAVOrder_root_0)(__svc__._stateMgrs[0]);

                if (__svc__.EDIOrderSP != null)
                {
                    __svc__.EDIOrderSP.Close(this, null);
                    __svc__.EDIOrderSP = null;
                }
                if (__svc__.NAVOrderRP != null)
                {
                    __svc__.NAVOrderRP.Close(this, null);
                    __svc__.NAVOrderRP = null;
                }
                base.Finally();
            }