protected async Task <long> MergeNode(MergeNodeCommand mergeNodeCommand) { List <long> result = await _graphDatabase.RunWriteQuery(mergeNodeCommand, r => r.Values.First().Value.As <long>()); return(result.First()); }
public MergeNodeCommandTests() { MergeNodeCommand = new MergeNodeCommand { IdPropertyName = $"{nameof(MergeNodeCommand.IdPropertyName)}", NodeLabels = { "NodeLabel" }, Properties = new Dictionary <string, object>() }; }