Page 1 of 1
[BUG] Attribute parameter generation in VB.NET (v4.0.30)
Posted: Mon 22 Aug 2011 15:55
The code generation for attribute parameters creates incorrect code for Visual Basic:
Code: Select all
_
Public Overridable Property ID() As String
As you can see, it tries to use '=' to access a parameter by name, but the correct way to do this in VB is the ':=' operator. So the corrected code looks like that:
Code: Select all
_
Public Overridable Property ID() As String
Posted: Wed 24 Aug 2011 08:48
by StanislavK
Thank you for the report, we have reproduced the problem. We will fix it and inform you when the corresponding build is available.
Posted: Wed 07 Sep 2011 12:13
by Helen
We have released the new 4.1.41 version of Entity Developer, in which code generation is fixed for attribute parameters when a Visual Basic template is used.
The new build can be downloaded from
http://www.devart.com/entitydeveloper/download.html (the trial version only) or from Registered Users' Area (for users with active subscription only):
http://secure.devart.com/
For more information about the fixes available in the new build, please refer to
http://www.devart.com/forums/viewtopic.php?t=21949