Skip to content

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

Description

@groogiam

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions