views:

567

answers:

3

I am very confused with the use subsonic or ado.net entity framework Which one I should pefer? I creating a web site using asp.net mvc and all i need is greater performance and I also want to save time using ORM. So Which orm i should use?

A: 

I am with same problem, Implementing vía entity is to easy to implement validation of data with IDataErrorInfo interface over your class, but I don't like entity framework implementation.

I am thinking to move to entity framwork for my validations, because I am getting problems using default mvc schema to validate data (UpdateModel(), Model.IsValid,etc), but I am really new about C# and subsonic. my 20 cent.

Jorge Mota
+6  A: 

Perf is negligible when you're talking data access. I think you'll find that proper indexing, caching, and gzip compression will make all the difference. It's like asking which car to race at the Indy 500 and saying "I want the fastest" - there's a lot more to it (driver, conditions, parts, etc).

Rob Conery
thanks can you give me suggestion in which scenario the subsonic will be better. My site will be a question answer site with the heavy database and user.
jalpesh
+1  A: 

Entity Framework is MUCH faster than Subsonic:

http://www.timacheson.com/Blog/2009/jun/entity_framework_vs_subsonic

Tim