2

The one feature that I cannot stand with-in the Entity framework is where the complex Result object sets some properties as Nullable.

Is there a global setting to where that Nullable property is never set to yes?

enter image description here

1 Answers1

1

It appears that even if you get the property Nullable to be False, that it will still generate a Nullable version of your object.

Check out the accepted answer of Entity Framework: Set nullable to false, but type is still nullable.

Also, read How to manually update your Entity Framework model classes when they get out of sync with your database for a description of how to use the Run Custom Tool option to run a T4 template after your model has been generated.

Community
  • 1
  • 1
Karl Anderson
  • 34,606
  • 12
  • 65
  • 80