{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4430","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4430/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4430/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/4430/events","html_url":"https://github.com/aspnet/EntityFramework/issues/4430","id":129822942,"number":4430,"title":"Database.ExecuteSqlCommand returns void?","user":{"login":"giancarloa","id":6955833,"avatar_url":"https://avatars.githubusercontent.com/u/6955833?v=3","gravatar_id":"","url":"https://api.github.com/users/giancarloa","html_url":"https://github.com/giancarloa","followers_url":"https://api.github.com/users/giancarloa/followers","following_url":"https://api.github.com/users/giancarloa/following{/other_user}","gists_url":"https://api.github.com/users/giancarloa/gists{/gist_id}","starred_url":"https://api.github.com/users/giancarloa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giancarloa/subscriptions","organizations_url":"https://api.github.com/users/giancarloa/orgs","repos_url":"https://api.github.com/users/giancarloa/repos","events_url":"https://api.github.com/users/giancarloa/events{/privacy}","received_events_url":"https://api.github.com/users/giancarloa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-29T16:55:37Z","updated_at":"2016-01-29T16:55:37Z","closed_at":null,"body":"Hi... in EF6 Database.ExecuteSqlCommand had a int return type that represented the number of records affected... now in EF7 however it returns void... is that they way it should be???? is there another way in EF7 to execute a command and get the number of records affected???? I am trying to avoid raw ado.net code... thanks"}}