예제 #1
0
        private void OnDeleteRelationshipCompleted(object sender, DeleteEventArgs e)
        {
            NodesEventArgs nodesEventArgs = new NodesEventArgs("DeletedRelationship", e.DeletedId);

            if (DeleteRelationshipCompleted != null)
            {
                DeleteRelationshipCompleted.Invoke(this, nodesEventArgs);
            }
        }
예제 #2
0
        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));
                }
            }
        }