Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public Task<int> UpdateAsync(object poco, IEnumerable<string> columns) does not work with POCO that has string primary key #47

Open
groogiam opened this issue May 11, 2018 · 0 comments

Comments

@groogiam
Copy link

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.
UpdateTest.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant