Search code examples
entity-frameworkinheritancetable-per-hierarchy

Unable set table mapping to Boolean = False


I am trying to set an inheritance in Entity-Framework, I want to set the mapping when BooleanColumn = True.

I am unable to do so.


Solution

  • This only works if the Boolean column isn't also a Property.

    So make sure you aren't also trying to map that column to a property of the Entity.