Closed
Description
TypeAccessor<T>
is used in relation to dynamic columns store, however, it doesn't respect custom IMetadataReader
implementations and tries to find the member using the default DynamicColumnsStoreAttribute
attribute.
[This is the exact line causing the issue].(https://github.com/linq2db/linq2db/blob/master/Source/LinqToDB/Reflection/TypeAccessorT.cs#L94)
This matters when I have my own mapping attributes, due to wrapping the library, and the entity has custom columns store defined using a custom attribute rather than DynamicColumnsStoreAttribute
attribute.
Do you think the TypeAccessor<T>
should also respect a custom IMetadataReader
?