{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2155","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2155/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2155/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/2155/events","html_url":"https://github.com/aspnet/EntityFramework/issues/2155","id":74861400,"number":2155,"title":"AppendSelectAffectedCountCommand - how to implement","user":{"login":"ErikEJ","id":4169187,"avatar_url":"https://avatars.githubusercontent.com/u/4169187?v=3","gravatar_id":"","url":"https://api.github.com/users/ErikEJ","html_url":"https://github.com/ErikEJ","followers_url":"https://api.github.com/users/ErikEJ/followers","following_url":"https://api.github.com/users/ErikEJ/following{/other_user}","gists_url":"https://api.github.com/users/ErikEJ/gists{/gist_id}","starred_url":"https://api.github.com/users/ErikEJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErikEJ/subscriptions","organizations_url":"https://api.github.com/users/ErikEJ/orgs","repos_url":"https://api.github.com/users/ErikEJ/repos","events_url":"https://api.github.com/users/ErikEJ/events{/privacy}","received_events_url":"https://api.github.com/users/ErikEJ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-10T07:48:24Z","updated_at":"2015-05-10T07:48:24Z","closed_at":null,"body":"I am trying to run some (of the built-in) functional tests, and they do INSERTs statements to seed the test database. This requires AppendSelectAffectedCountCommand to return the @@rowcount, but the database engine does not support this. It only allows a batch size of one, and the ExecuteNonQuery command can return the number of rows affected (but much later)\r\n\r\nAny suggestions?"}}