TransactionalNodeService.Soap.SoapMapManager.CreateNode C# (CSharp) Method

CreateNode() public method

public CreateNode ( System.Guid domainId, System.Guid rootMapId, TransactionalNodeService.Proxy nodeType, string originalId, TransactionalNodeService.Soap.TransactionFramework &chain ) : TransactionalNodeService.Proxy.INode
domainId System.Guid
rootMapId System.Guid
nodeType TransactionalNodeService.Proxy
originalId string
chain TransactionalNodeService.Soap.TransactionFramework
return TransactionalNodeService.Proxy.INode
        public Proxy.INode CreateNode(Guid domainId, Guid rootMapId, Proxy.NodeType nodeType, string originalId, ref TransactionFramework.TransactionChain chain)
        {
            TransactionFramework.AddNodeTransactionLink createNodeTransaction = new TransactionFramework.AddNodeTransactionLink();
            createNodeTransaction.MapManager = this;
            createNodeTransaction.DomainId = domainId;
            createNodeTransaction.RootMapId = rootMapId;
            createNodeTransaction.NodeType = nodeType;
            createNodeTransaction.OriginalId = originalId;

            chain.AddTransaction(createNodeTransaction);

            Proxy.INode node = createNodeTransaction.CreateInProcessObjects();

            return node;
        }