public AddBulkRelationship ( |
||
configuration | ||
sessionId | System.Guid | |
responseParameter | System.Guid | |
domainId | ||
rootMapId | ||
nodes | MapParameter>.Dictionary | |
relationshipType | ||
originalId | string | |
return |
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;
}
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)); } }