Split Model in different Files

Oct 21, 2008 at 3:29 PM
Hi,
Just a basic question regarding the model file.
Is it possible to create a relationship with a class located in another model ?

As a sample , I'd like to define a package (name ="MyApp.Security") with security management where a class "user" is defined" and related to other classes.
I'd like to use this class "user" in another package (name="MyApp.Products")

The point that I'd like to not have a huge model file with all classes and relationships.

Thks for your feedback

Rgds.
Coordinator
Oct 21, 2008 at 3:37 PM
Hi,

I think it should be possible if you type the full name of the target class, i.e. including the namespace.
You will have to generate all files (automatically or using the command line tool) and only then compile the project.

Though, I would recommend to use POCO classes instead of code generated ones, but it's up to your own choice.

Kind regards,
Sebastien