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?
views:
567answers:
3I 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.
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).
Entity Framework is MUCH faster than Subsonic:
http://www.timacheson.com/Blog/2009/jun/entity_framework_vs_subsonic