I am generating code using C# templates as follows:
if (field.DotNetType.IsValueType && field.IsNullable)
{
return "Nullable<" + field.DotNetType.Name + ">";
} else {
return field.DotNetType.Name;
}
Where "field" is of type EntityFieldDefinition.
But field.IsNullable = true even when the designer checkbox "Generate as Nullable type" is unchecked. Is there another field which qualifies this property according the designer checkbox value?
I am using LLBLGen Pro 2.0.0.0 Final (March 21st 2007).
Marcus