Hello,

I have two applications, that share the same domain model. One
application is like a viewer for the database, the other is a complex
business application with legacy code (in FORTRAN) attached.

The viewer should use a very simple implementation of my domain model
(basically just attributes and relations), whereas the business
application would have an elaborate model including business rules,
consistency checking etc.

So far, two options came to my mind:
- Duplicate the mapping files and map to a different set of classes in
the two applications. Not nice - every change needs work on two files.
- Hook into the proxy generator and to generate a different set of
POCO classes by convention, but I am not sure, whether all objects
returned from the database will be proxies in all circumstances.

Are there any experiences with the situation described ?

Lars
-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.


Reply via email to