The only time this comes up is with MergeAsync -- it can inspect a model class for key properties. Although you can pass your own key properties, MergeAsync can use reflection to find [PrimaryKey] properties. As a POCO thing, it would be better I think if we used the built-in [Key] attribute -- to remove a dependency on Dapper.CX
The only time this comes up is with
MergeAsync
-- it can inspect a model class for key properties. Although you can pass your own key properties,MergeAsync
can use reflection to find[PrimaryKey]
properties. As a POCO thing, it would be better I think if we used the built-in[Key]
attribute -- to remove a dependency on Dapper.CX