-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Open
Copy link
Description
EF 6.0.
Current declaration of ITypeMappingSource::FindMapping(property) requires reference to IProperty.
| new RelationalTypeMapping? FindMapping(IProperty property); |
As result, in some code need cast resference of IReadOnlyProperty to IProperty.
For example:
| ?? typeMappingSource?.FindMapping((IProperty)property))?.Converter; |
This cast looks as a problem in interface design.
If I understand everything correctly, IReadOnlyProperty interface is enough for ITypeMappingSource::FIndMapping(property).
Or no?
Reactions are currently unavailable