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 - fredhirschfeld

Pages: [1]
1
General Board / Re: 3.6/4.0 Side-by-Side Installation
« on: March 16, 2004, 09:26:12 am »
Ok, this suggestion may not be viable for many but... Maybe using some VM Ware products (MS, IBM?) to have the old EA working in. I know using VMWare for just this is a bit much but I have found VM software very useful in other areas too...

Fred

2
General Board / Re: Automatically adding using namespaces
« on: February 10, 2004, 07:44:11 pm »
In another area, benc (EA Administrator) indicated that this was going to be worked on in future releases. He indicated that the presence of a "used" type in the EA model will cause the proper Using statement to be generated.

I assume this means both return types as well as parameter types.

Fred

3
General Board / Re: Automatically adding using namespaces
« on: February 09, 2004, 12:54:37 pm »
I am having the same problem and what was mentioned here does work IF you are using an association.

I was trying to use an Interface by dependency from another package and expected that the proper using would get put in place, but it didn't. I also tried doing various things to force this using the package vs the interface and nada!

After reverse engineering the other sample code I noticed an area to keep the using code. You need to right-click on the class and press CTRL-G for the generation dialog. The two textboxes are used to type in some code that is used at the start of the module.

Code: [Select]
using System;
using System.Data;


I don't like having to do this but it is the only way I can tell to actually get the using statements done (aside from the associations).

Fred

4
General Board / C# does not seem to generate all Using statements.
« on: February 04, 2004, 07:54:59 am »
I have been trying to figure out how to get my very simple model to generate the proper
  Using {namespace};
line when I have a custom return type that is in a different package.

I have tried to use all forms of linking but it only seems that Associations will cause the statement to be included. I only want to use the Dependency as I am using an Interface as the return type.

I also tried to simply link the package containing the interface and that did not seem to help either. When generating code I always delete the previous file first.

Another question is how do I get the .NET Framework in the model so those imports are done as well?

Fred

Pages: [1]