Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: swells on February 02, 2002, 12:38:28 pm
-
The code generation for C# properties is not using the standard property code, but instead creating methods.
For a property called MyProperty it should read:
int miMyProp;
Public int MyProperty
{
get
{
return miMyProp;
}
set
{
miMyProp = value;
}
}
It would also be 'nice' for the code to be generated as well (after all the modeller does know which attribute is used for the property).
-
Hi,
We are currently updating the code generation in EA and this item is one that has been fixed. A minor update will be released in a week or so with this change plus a lot of others in the code forward and reverse engineering area.
Hope this helps,
Geoff Sparks