This post originated from an RSS feed registered with .NET Buzz
by Frans Bouma.
Original Post: ORM and O/R mapping
Feed Title: Frans Bouma's blog
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/fbouma/Rss.aspx
Feed Description: Generator.CreateCoolTool();
All of a sudden, people start blogging about O/R mapping, thanks to Steve Eichert. Thanks Steve! :) There is however a funny thing going on in someof those blogs: they use the term ORM.
O/R mapping is something else than ORM. O/R mapping is Object-Relational mapping, ORM is Object Role Modelling. ORM is also sometimes called the successor of NIAM and has its own website at: http://www.orm.net, run by prof. T. A. Halpin, once the researcher who developed NIAM with prof. G. Nijssen and others.
Now, do they relate? Well... in an ideal world, you should be able to use an ORM model as input for the code to generate/configurate by the O/R mapper: then you have both your relational model (abstracted via the E/R model for example) and the classes targeting this relational model. Visio for Visual Studio Enterprise Architect contains an ORM tool, which lets you design your abstract relational model and eventually generate DDL from it (and / or an E/R model).
This as a FYI while you're reading the O/R mapping articles about the pro/con aspects of O/R mapping.
First I am six years late! (my October 2009 reply to your 2003 post)
Second, on many projects, I have seen problems with spanning the conceptual gap between a solid 3NF database design and a solid Object Oriented architecture.
Unfortunately, in my own practice as a Project Manager, I have not seen the systematic use of either O/R mapping or ORM notation to bridge the conecptual gab between Object Oriented architecture and Relational database design.
I am hoping Terry Halpin's 2nd edition of Information Modeling and Relational Databases (ISBN: 978-0-12-373568-3) will help me address this challenge.
I would appreciate suggested reading and references.