Adding int property, EF keeps making it nullable column?

.net c# entity-framework entity-framework-6

Popular Answer

That results from inheritance. The absence of certain properties in types at the top level of the hierarchy means that not all attributes in derived types can be defined as not-nullable.

1
1/13/2016 10:26:51 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow