O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Model first versus data first

In the past, we have been told that the collected data is the most important asset for a company, or to put it in a more pronounced way: "the truth is in the database". Consequently, applications were built with this notion in mind. Business analysts and architects sat down, and first designed the data model. The questions they asked were: "What type of data do we have, and how are the various pieces of data related to each other?". The result of this effort was a so-called Entity Relationship Diagram (ERD).

What makes an entity, such as a Customer specific to a certain company and/or sector? It is not the fact that there is an entity Customer with various attributes, such as name and address, but the real distinction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required