Glyma.NodeServiceApp.NodeServiceClient.CreateRootMap C# (CSharp) Method

CreateRootMap() public method

public CreateRootMap ( GlymaSessionConfiguration configuration, System.Guid domainId, string name, NodeType nodeType, string originalId ) : QueryResponse
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
domainId System.Guid
name string
nodeType TransactionalNodeService.Common.Model.NodeType
originalId string
return TransactionalNodeService.Common.QueryResponse
        public QueryResponse CreateRootMap(GlymaSessionConfiguration configuration, Guid domainId, string name, NodeType nodeType, string originalId)
        {
            QueryResponse result = null;

            // run the call against the application proxy
            NodeServiceApplicationProxy.Invoke(_serviceContext,
                proxy => result = proxy.CreateRootMap(configuration, domainId, name, nodeType, originalId));

            return result;
        }

Usage Example

 public QueryResponse CreateRootMap(string callingUrl, Guid domainId, string name, NodeType nodeType, string originalId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return nodeServiceClient.CreateRootMap(callingUrl, domainId, name, nodeType, originalId);
     }
 }
All Usage Examples Of Glyma.NodeServiceApp.NodeServiceClient::CreateRootMap