• Wixely's avatar
    Improve Exception message (#1154) · b961089e
    Wixely authored
    In cases where the object has a property named ID, the property will automatically be assigned as [Key], even if [Computed] is added manually in an attempt to override it. This can cause confusion, this exception will be thrown despite the code looking fine and there only being one [ExplicitKey] defined. I've added this extra line of information to help diagnosis.
    b961089e
Name
Last commit
Last update
..
Dapper.Contrib.csproj Loading commit data...
Readme.md Loading commit data...
SqlMapperExtensions.Async.cs Loading commit data...
SqlMapperExtensions.cs Loading commit data...