Saturday, June 25, 2011

What is ORM?

ORM stands for Object-Relational Mapper. It’s mostly used to define a relationship between an object/class and the database table where it’s data should be saved.
Basic idea of Object Relational Mapping(ORM) is converting data between incompatible types in oop languages.When it comes to data bases it is about creating creating virtual data base objects which can be used in object oriented programming.
See the diagram:

Above diagram clearly explains the task of ORM mapping. To get the overall task done first we need to select a good data base driver which create the connection between our program and the data base. this method is efficient than manually create data base connection every where and close the connection.

No comments:

Post a Comment