Mark B. – tech

Object Relational Mapping (ORM) – introduction

Object Relational Mapping (ORM) is a mechanism that makes it possible to address, access and manipulate objects without having to consider how those objects relate to their data sources. Basically converting data from tables in a relational database to objects and vice versa.

The good thing when using ORM is :

  • Reducing the hand code (number line of code)
  • Maintainability, don’t need to re-write the same query.
  • Performance, writing the code more efficiently
  • Vendor independence, not depend on particular DBMS. Only need to change database connection configuration

There are some tools that can be used to implement ORM, for example : ADO.NET Entity Framework, nHibernate, origami ORM, and iBATIS
(for tools comparison click here)

Advertisements
This entry was published on April 25, 2011 at 4:51 am and is filed under IT - Tutorial. Bookmark the permalink. Follow any comments here with the RSS feed for this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: