public Protocols.ToolkitResultProtocol RelateCaseToParentCase(Protocols.Support.RelateCaseToParentCaseSetupProtocol setupParam)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Support.SupportToolkit toolkit = new FChoice.Toolkits.Clarify.Support.SupportToolkit( session );
            FChoice.Toolkits.Clarify.Support.RelateCaseToParentCaseSetup setup;

            switch( setupParam.ConstructorCue )
            {
                case 0:
                    setup = new FChoice.Toolkits.Clarify.Support.RelateCaseToParentCaseSetup(setupParam.CaseIDNum, setupParam.ParentCaseIDNum);
                    break;
                default:
                    throw new InvalidOperationException(string.Format("Constructor index '{0}' does not exist.", setupParam.ConstructorCue));
            }

            if( Global.IsPropertyDirty(1, setupParam.DirtyFieldFlags) )
            {
                setup.CaseIDNum = setupParam.CaseIDNum;
            }

            if( Global.IsPropertyDirty(2, setupParam.DirtyFieldFlags) )
            {
                setup.ParentCaseIDNum = setupParam.ParentCaseIDNum;
            }

            return new Protocols.ToolkitResultProtocol( toolkit.RelateCaseToParentCase(setup) );
        }
        public Protocols.ToolkitResultProtocol RelateCaseToParentCase(System.String caseIDNum, System.String parentCaseIDNum)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Support.SupportToolkit toolkit = new FChoice.Toolkits.Clarify.Support.SupportToolkit( session );

            return new Protocols.ToolkitResultProtocol( toolkit.RelateCaseToParentCase(caseIDNum, parentCaseIDNum) );
        }