{"action":"opened","issue":{"url":"https://api.github.com/repos/tmenier/AsyncPoco/issues/47","repository_url":"https://api.github.com/repos/tmenier/AsyncPoco","labels_url":"https://api.github.com/repos/tmenier/AsyncPoco/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/tmenier/AsyncPoco/issues/47/comments","events_url":"https://api.github.com/repos/tmenier/AsyncPoco/issues/47/events","html_url":"https://github.com/tmenier/AsyncPoco/issues/47","id":322338187,"number":47,"title":"public Task<int> UpdateAsync(object poco, IEnumerable<string> columns) does not work with POCO that has string primary key","user":{"login":"groogiam","id":1992395,"avatar_url":"https://avatars2.githubusercontent.com/u/1992395?v=4","gravatar_id":"","url":"https://api.github.com/users/groogiam","html_url":"https://github.com/groogiam","followers_url":"https://api.github.com/users/groogiam/followers","following_url":"https://api.github.com/users/groogiam/following{/other_user}","gists_url":"https://api.github.com/users/groogiam/gists{/gist_id}","starred_url":"https://api.github.com/users/groogiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groogiam/subscriptions","organizations_url":"https://api.github.com/users/groogiam/orgs","repos_url":"https://api.github.com/users/groogiam/repos","events_url":"https://api.github.com/users/groogiam/events{/privacy}","received_events_url":"https://api.github.com/users/groogiam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T15:27:03Z","updated_at":"2018-05-11T15:27:03Z","closed_at":null,"author_association":"NONE","body":"The update overload does not resolve the primary key correctly for entities with string primary keys when columns are specified. The issue looks to be around line 1303 of Database.cs where the pk is resolved if no columns are specified but is not when columns are specified. Attached is a repro of the issue.\r\n[UpdateTest.zip](https://github.com/tmenier/AsyncPoco/files/1995876/UpdateTest.zip)\r\n"}}
{"actor":{"display_login":"groogiam"}}