efcore
efcore copied to clipboard
Question: Can we configure EF to ignore inheritance?
Hello,
Is it possible to ignore the base type and treat the inheriting classes as stand-alone? I want EF to ignore my base class completely and duplicate the properties if needed.
Cheers.
You can ignore the base type with the Ignore() method. That should result in the behavior you want.
Thanks that works!