I reproduced it with the latest version. I'm attaching a repro solution.
Indeed, if you change generalTemplateUtils.lpt:390 from this:
return string.Format(".CustomType({0}({1}))", typeRetrieverKeyword, mapping.MappedTarget.NETTypeAsString);
to this:
return string.Format(".CustomType({0}({1}))", typeRetrieverKeyword, mapping.MappedFieldInstance.FieldType.RepresentedType);
... it works.
We will look into this, in the meantime use that workaround. Thanks for reporting it.
Attachments
Filename |
File size |
Added on |
Approval |
NHAndEnums.zip
|
46,520 |
08-Dec-2012 08:31.35 |
Approved |