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

AddBulkRelationship() public method

public AddBulkRelationship ( GlymaSessionConfiguration configuration, System.Guid sessionId, System.Guid responseParameter, MapParameter domainId, MapParameter rootMapId, MapParameter>.Dictionary nodes, RelationshipType relationshipType, string originalId ) : MapParameter
configuration TransactionalNodeService.Common.GlymaSessionConfiguration
sessionId System.Guid
responseParameter System.Guid
domainId TransactionalNodeService.Common.MapParameter
rootMapId TransactionalNodeService.Common.MapParameter
nodes MapParameter>.Dictionary
relationshipType TransactionalNodeService.Common.Model.RelationshipType
originalId string
return TransactionalNodeService.Common.MapParameter
        public MapParameter AddBulkRelationship(GlymaSessionConfiguration configuration, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter rootMapId, Dictionary<DescriptorType, MapParameter> nodes, RelationshipType relationshipType, string originalId)
        {
            MapParameter result = null;

            // run the call against the application proxy
            NodeServiceApplicationProxy.Invoke(_serviceContext,
                proxy => result = proxy.AddBulkRelationship(configuration, sessionId, responseParameter, domainId, rootMapId, nodes, relationshipType, originalId));

            return result;
        }

Usage Example

Example #1
0
 public MapParameter AddBulkRelationship(string callingUrl, Guid sessionId, Guid responseParameter, MapParameter domainId, MapParameter rootMapId, Dictionary <DescriptorType, MapParameter> nodes, RelationshipType relationshipType, string originalId)
 {
     using (GlymaNSApp.NodeServiceClient nodeServiceClient = new GlymaNSApp.NodeServiceClient(callingUrl))
     {
         return(nodeServiceClient.AddBulkRelationship(callingUrl, sessionId, responseParameter, domainId, rootMapId, nodes, relationshipType, originalId));
     }
 }
All Usage Examples Of Glyma.NodeServiceApp.NodeServiceClient::AddBulkRelationship