Need of an ORM(Object-relational mapping) ?

Posted by Akiii under Others on 8/2/2011 | Points: 10 | Views : 1398 | Status : [Member] | Replies : 3
Hi all,
Please explain to me "Why we need an ORM" ?

Thanks and Regards
Akiii




Responses

Posted by: SheoNarayan on: 8/2/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Good question Akiii,

There are many benefits of ORM and I will try to list couple of them.

1. ORM means less code you need to write as ORM does most of the work for you in order to deal with the databases
2. Increase your productivity as you will not write boring DAL code but focus on writing real business related code
3. Time tested and reliable code you can trust on (much better code than any average developer can write)
4. Many of them have in-built caching mechanism for better performance

I am sure there are many but I guess this is enough to believe that it is good to use ORM.

Thanks


Regards,
Sheo Narayan
http://www.dotnetfunda.com

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 8/3/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi SheoNarayan Sir,
Thanks for giving me some points. Can you tell me sir, is it good to use dataset/datareader in current scenario or is it the new age of ORM's ?

Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Akiii on: 8/3/2011 [Member] Bronze | Points: 25

Up
0
Down
And also please tell which ORM is the best to use ?
I have used ADON.NET ENTITY FRAMEWORK, LINQ TO SQL and NHIBERNATE ...?

Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response