Inheritance: TransactionOperation
        public TransactionToken AddNode(TransactionToken domainId, SoapNodeType nodeType, string originalId)
        {
            AddNodeTransactionOperation operation = new AddNodeTransactionOperation(Connection, TokenFactory);

            operation.DomainId = TokenFactory.ProcessToken(domainId);
            operation.NodeType = nodeType;
            operation.OriginalId = originalId;

            Operations.Enqueue(operation);

            return operation.ResultTokens.First();
        }
Exemplo n.º 2
0
        public TransactionToken AddNode(TransactionToken domainId, SoapNodeType nodeType, string originalId)
        {
            AddNodeTransactionOperation operation = new AddNodeTransactionOperation(Connection, TokenFactory);

            operation.DomainId   = TokenFactory.ProcessToken(domainId);
            operation.NodeType   = nodeType;
            operation.OriginalId = originalId;

            Operations.Enqueue(operation);

            return(operation.ResultTokens.First());
        }