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...
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.
S#arp Architecture
OK, maybe this one is better. Look at "Why use ORM" there.
精彩评论