I need to get the Nullable property out for a field in EF. Some magic code needs to be done on properties that are Nullable=True, and I cannot find a working solution to get the
You can use Nullable.GetUnderlyingType Method for this
if (Nullable.GetUnderlyingType(propertyType) != null) { // It's nullable }