On Wed, Jul 23, 2008 at 7:02 AM, Seref Arikan
<[EMAIL PROTECTED]> wrote:
> [Classes generated from UML] <------->[connector
> layer/service/class]<------------> [classes generated from DB
> schema]<----------->[ORM services]<--------->[DB]

With the Repository pattern, you could do as follow:

[Business classes]<--->[Facade/service]<--->[Generic DAL]<--->[DB]

The generic DAL will need some mapping between OO classes and DB
schema, and this is where code generation come in handy because doing
that mapping by hand is tedious and error prone.

-- 
Sébastien
www.sebastienlorion.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to