henkmollema/Dommel

Resolving properties creating "duplicates"

Closed this issue · 2 comments

When using BaseEntity reflection where the reflected class hides base properties with the "new" keyword, the property resolver will first grab the correct, new properties, but once the array of properties has been created, the base properties have been appended to the array. This will in turn cause an exception when creating (in my case) an insert query, as Dommel now attempts to created parameters for both the reflected properties and the base properties.

Could you provide a code example of this issue?