Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jmichelson1

Pages: [1]
1
Suggestions and Requests / Handle using statements better, please!
« on: February 10, 2004, 03:14:34 pm »
It would be great if EA did a better job placing the proper "using" statements in the class headers.  Creating a variable of type X does not automatically generate the using statement (C# code) for the assembly that defines type X.  Unless I'm mistaken, this should not be a very difficult task since types and their associated containers can be defined in EA.  Or they can be easily imported.  Without this feature, alot of extra coding is required in VS.Net.

Thanks!

2
General Board / Re: Automatically adding using namespaces
« on: February 09, 2004, 07:45:40 pm »
I have to say... this seems like a pretty huge oversight for such a mature product!  Does Sparx monitor this newgroup?  What say you?

- J

3
General Board / Re: Automatically adding using namespaces
« on: February 09, 2004, 11:47:07 am »
Quote
... on forward engineer,  should output the correct 'using' statements.


Perhaps it should, but it DOESN'T.  Would a Sparx technician PLEASE respond to this post?  It's my second one.

- J

4
General Board / Automatically adding using namespaces
« on: February 08, 2004, 02:44:37 pm »
This message is for Sparx technical support:

It seems that the code generator (C#) is not smart enough to add "using..." statements based on the types that appear in the body of the class.  For example, if the class has the following declaration "private AccountType _account", and the "AccountType" is defined in the "Business.DataTypes" assembly (and appears as such in EA), than the "using Business.DataTypes" shoulod be automatically added to the declarations.  But, it doesn't.

I would think that this should be basic functionality.  Am I wrong?

Thanks... Jeff

Pages: [1]