开发者

ORM/ADO.NET data services for asp.net-mvc web application

开发者 https://www.devze.com 2022-12-28 09:19 出处:网络
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...

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号