• 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
SqlMapperExtensions.cs 52.3 KB