We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Table("MyTable")] public class TableEntity { [ExplicitKey] public string Name { get; set; } [ExplicitKey] public Guid Id { get; set; } }
The error happens when calling
return await GetAllAsync<MyTable>();
The text was updated successfully, but these errors were encountered:
me too
Sorry, something went wrong.
I'm running into this as well. I have a table with a composite key. Hope this gets some attention soon.
I've got this problem, too
Same issue
Same problem
using Dapper.Contrib.Extensions; [Table("MyTable")] public class TableEntity { [Key] public Guid Id { get; set; } public string Name { get; set; } }
Check your library of the [ExplicitKey] and try adding [Key] to Guid only.
Library of the key must be Dapper.Contrib.Extensions;
Dapper.Contrib.Extensions;
No branches or pull requests
The error happens when calling
The text was updated successfully, but these errors were encountered: