We understand the approach for a property that is declared as an interface type. When we run a 'code first' project the entity framework complains that an interface
(with a number of properties included in it) is not mapped.
We tried using the [NotPersisted] attribute for each of the interface properties but the EntityFramework still complains that the Interface is not mapped. We also tried using the NotPersisted attribute at the interface level but this attribute is not supported
by the EntityFramework.
Would you know how tell the EntityFramework to ignore the interface from a mapping perspective?