Problem with enum and GetNullableType
Posted: Thu 13 Jun 2013 08:29
Hello,
I have DTO template in my model. I have class with property witch is Enum type and this property is nullable. When I transform DTO template it generates dto class with enum property witch is not nullable. Than generated converter extension is wrong becouse it try to assign nullable type to not nullable type.
As I search tmpl file I thing problem is in CsModelCodeProvider.GetNullableType(bool, string) method with is not reflect Nullable parameter.
I have DTO template in my model. I have class with property witch is Enum type and this property is nullable. When I transform DTO template it generates dto class with enum property witch is not nullable. Than generated converter extension is wrong becouse it try to assign nullable type to not nullable type.
As I search tmpl file I thing problem is in CsModelCodeProvider.GetNullableType(bool, string) method with is not reflect Nullable parameter.