/// <summary>
        ///
        /// </summary>
        internal override void FixReferences(BtsCatalogExplorer explorer)
        {
            TraceManager.SmartTrace.TraceIn(explorer);

            // Referenced Applications
            foreach (NameIdPair app in this.referencedApplications)
            {
                BizTalkApplication a = this.parentInstallation.Applications[app.Name] as BizTalkApplication;

                if (a != null)
                {
                    app.Id = a.NameIdPair.Id;
                }
            }

            // Back Referenced Applications
            foreach (NameIdPair app in this.backReferencedApplications)
            {
                BizTalkApplication a = this.parentInstallation.Applications[app.Name] as BizTalkApplication;

                if (a != null)
                {
                    app.Id = a.NameIdPair.Id;
                }
            }

            foreach (Transform transform in this.maps)
            {
                transform.FixReferences(explorer);
            }
            foreach (SendPort sendPort in this.sendPorts)
            {
                sendPort.FixReferences(explorer);
            }
            foreach (SendPortGroup sendPortGroup in this.sendPortGroups)
            {
                sendPortGroup.FixReferences(explorer);
            }
            foreach (ReceivePort receivePort in this.receivePorts)
            {
                receivePort.FixReferences(explorer);
            }
            foreach (Schema schema in this.schemas)
            {
                schema.FixReferences(explorer);
            }
            foreach (Orchestration orchestration in this.orchestrations)
            {
                orchestration.FixReferences(explorer);
            }
            foreach (BizTalkAssembly assembly in this.assemblies)
            {
                assembly.FixReferences(explorer);
            }
            foreach (Role roleLink in this.roleLinks)
            {
                roleLink.FixReferences(explorer);
            }

            TraceManager.SmartTrace.TraceOut();
        }