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
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));
     }
 }
        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))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, true, domainId, rootMapId, SPGlymaRightFactory.Instance.MapCreateRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return(nodeServiceClient.AddBulkRelationship(configuration, sessionId, responseParameter, domainId, rootMapId, nodes, relationshipType, originalId));
                }
            }
        }
 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);
     }
 }
        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))
            {
                using (WebAppSPGlymaSession glymaSession = new WebAppSPGlymaSession(callingUrl, true, domainId, rootMapId, SPGlymaRightFactory.Instance.MapCreateRight))
                {
                    GlymaSessionConfiguration configuration = glymaSession.ExportGlymaSession();

                    return nodeServiceClient.AddBulkRelationship(configuration, sessionId, responseParameter, domainId, rootMapId, nodes, relationshipType, originalId);
                }
            }
        }