{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/9687","repository_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore","labels_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/9687/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/9687/comments","events_url":"https://api.github.com/repos/aspnet/EntityFrameworkCore/issues/9687/events","html_url":"https://github.com/aspnet/EntityFrameworkCore/issues/9687","id":254996609,"number":9687,"title":"DeleteBehavior.ClientSetNull documentation is wrong","user":{"login":"Wain123","id":28567565,"avatar_url":"https://avatars3.githubusercontent.com/u/28567565?v=4","gravatar_id":"","url":"https://api.github.com/users/Wain123","html_url":"https://github.com/Wain123","followers_url":"https://api.github.com/users/Wain123/followers","following_url":"https://api.github.com/users/Wain123/following{/other_user}","gists_url":"https://api.github.com/users/Wain123/gists{/gist_id}","starred_url":"https://api.github.com/users/Wain123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wain123/subscriptions","organizations_url":"https://api.github.com/users/Wain123/orgs","repos_url":"https://api.github.com/users/Wain123/repos","events_url":"https://api.github.com/users/Wain123/events{/privacy}","received_events_url":"https://api.github.com/users/Wain123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-04T10:13:44Z","updated_at":"2017-09-04T10:13:44Z","closed_at":null,"author_association":"NONE","body":"https://docs.microsoft.com/en-us/ef/core/saving/cascade-delete contains the sentence \"[...] control whether the deletion of a principal/parent entity should have a side effect on dependent/child entities it is related to.\"\r\n\r\nDeleteBehavior metadata contains the sentence \"Indicates how a delete operation is applied to dependent entities in a relationship when the principal is deleted or the relationship is severed.\"\r\n\r\nClientSetNull sets the FK to null when the navigation property is set to null (i.e. the relationship is severed). It does absolutely nothing when the parent is deleted. When SaveChanges is called with a deleted parent, it sets the FK to null in some cases but not in others (see #9686 for details).\r\n\r\nThe docs, metadata and actual behavior are all mutually distinct."}}
{"actor":{"display_login":"Wain123"}}