views:

57

answers:

2

As i am a beginner to asp.net-mvc which should i use ORM/ADO.NET data services.... As far as i see all the examples are only with ORM support.... So experts please guide me on this...

A: 

S#arp Architecture

OK, maybe this one is better. Look at "Why use ORM" there.

queen3
+1  A: 

This question is strange.

You use Ado.net Data Services, now WCF Data Services, with an Entity Framework, which is an ORM itself. ;)

Using a straight ORM vs abstraction over WCF Data Services is largely based on the physical tiering of your servers. If your webserver cannot connect to your database server or you you need tiered architecture for multi-tenancy/security/scaling reasons than you need to use a web service technology like WCF or WCF Data Services.

You'll probably be fine with an ORM like NHIbernate, Entity Framework, Lightspeed, Subsonic, or whichever new one comes out.

jfar