public void AddNode(ConnectionType connectionType, INode node)
{
ProxyNodeConnections[connectionType] = node;
Service.DT descriptorType = MapManager.ConnectionTypes.ConvertProxyToService(connectionType);
SoapTransactionLinkParameter linkParameter = new SoapTransactionLinkParameter(Service.MapParameterType.Node);
FacadeNode facadeNode = node as FacadeNode;
// Check if this is a facade and if it is and the base node isn't concrete, then use the base node's response parameter.
if (facadeNode != null && !facadeNode.IsConcrete)
{
linkParameter.SetParameterValue(facadeNode.TransactionOrigin);
}
else
{
linkParameter.SetParameterValue(node.Id);
}
TransactionLinkConnections[descriptorType] = linkParameter;
}