I changed the Null Value option on three columns from Return Alternate on Null to Return Alternate on Null / Set Null on Alternate (value type) and the generated code was missing an End If - see below:
<Browsable(
BusinessFieldDisplayInEditor(), _
Description(
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
loValue =
<----- missing end if here.
Cheers, Peter
http://forum.strataframe.net/Topic10915-10-1.aspx
There were several threads that brought up this issue... I'll try to find all of them and post the link to the update.