Alexander Nikolaev
Alexander Nikolaev

Reputation: 47

Which ORM can preserve the correspondence between db schema and domain model?

It is the common case when domain model is changed during project development. If db schema is generated from domain model, then the following problem appears. When I change model, I need to change schema also. I am searching for the ORM which can do such changes automatically (or, semi-automatically).

At least, the ORM must support the following changes:

Upvotes: 1

Views: 126

Answers (3)

traskjd
traskjd

Reputation: 1008

The Mindscape LightSpeed O/R Mapper supports this.

Mindscape LightSpeed O/R Mapper

Includes model refactoring tools also so if you change the name of a field in the domain model it will rename all references to it also.

Along with this it also provides the ability to one click update your domain model with database changes, or update your database with model changes meaning you can add properties/fields + classes/tables easily.

Upvotes: 2

Alexis Kochetov
Alexis Kochetov

Reputation: 241

It seems MS going to release Entity Framework v2. IMHO, they will have some support for this.

Upvotes: 0

Arsen Mkrtchyan
Arsen Mkrtchyan

Reputation: 50712

ADO.NET Entity Framework supports all you want

Upvotes: 0

Related Questions