We have a modular application and each application module (assembly) has its own entity model (.orm file + entity classes).
There is one "Sys" module that contains entity classes required by other modules (other modules projects can reference to Sys).
During entities development within my new application module I`d like to define relations between my entities and Sys entities by not redefining Sys entities in my module with Object Mapper. Since Object Mapper doesn't allow relations between models I need to code such relations by myself (if it is possible at all).
For example, I need to define relation between my Customer entity declared in My module and the Address entity declared in Sys module (i.e. add Customer.Location property which is contains link to Address entity). And PersistenceManager should manage this entities properly (build right save graph e.t.c.).
In other words, is it possible to create entity relations dynamically?
P.S.
It seems that my question addresses the similar problem as in this topic:
http://www.ideablade.com/forum/forum_posts.asp?TID=834
Edited by vecs - 02-Jul-2008 at 3:36am