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

Pages: [1]
1
General Board / generate c# namespace
« on: October 05, 2007, 12:46:11 am »
I generate c# class from EA 7.0.813, but it generates that:
namespace SOR {
namespace Model {
public class Recipe {

and I would like that:
namespace SOR.Model
       public class Recipe {

Is it possible to change that, because I have another project I made with EA 6, where there was the namespace structure like I would like,

Thanks

2
General Board / generate xml schema
« on: September 25, 2006, 04:54:08 am »
Hello,

When I select generate xml schema, it generate a xml schema with only the private attribut of the classes, is it possible to generate a xml schema with only the pulbic property.

3
General Board / c# collection
« on: June 21, 2006, 12:27:48 am »
Hello,
I am testing Enterprise architect with Visual studio 2005.

I would like to generate the following c# code:

public class myclass{

      private List<myclass> myVar;

       public List<myclass> MyProperty
       {
           get { return myVar; }
           set { myVar = value; }
       }
}

It is possible, but without define a association.
And we I import code to EA, it generates no association, it generates the property.

4
Automation Interface, Add-Ins and Tools / namespace in visual studio
« on: June 20, 2006, 05:15:03 am »
Hello,
I am testing Enterprise architect with Visual studio 2005.
I would like a package hierarchy like this:

Company
__AXInterfaces
____MyClass
__AXLib

The packages AXInterfaces and AXLib are linked each one to a visual studio class library project.
But I have a problem with the namespaces.
For example, I would like that EA generate MyClass in the namespace Company.AXInterfaces. But it generate MyClass without the namespace.

And If I program that in visual studio:
namespace Company.AXInterfaces{
public MyClass{
}
}

And I import source code in EA, it generates the following hierarchy in EA:
Company
__AXInterfaces
____Company
______AXInterfaces
________MyClass
__AXLib

Pages: [1]