private void OnDeleteRelationshipCompleted(object sender, DeleteEventArgs e) { NodesEventArgs nodesEventArgs = new NodesEventArgs("DeletedRelationship", e.DeletedId); if (DeleteRelationshipCompleted != null) { DeleteRelationshipCompleted.Invoke(this, nodesEventArgs); } }
private void OnDeleteRelationshipCompleted(object sender, DeleteRelationshipCompletedEventArgs e) { bool successful = false; if (e.Error == null) { successful = e.Result.DeleteSuccessful; if (DeleteRelationshipCompleted != null) { DeleteRelationshipCompleted.Invoke(this, new DeleteEventArgs(successful, e.Result.DeletedId)); } } }