Setting Nullable & enum property correctly in model snapshot and designe...

...r code
We have this code for enums in a few places. Consider consolidating into an extension method in SharedTypeExtensions.