I have a new project where I want to use MVC (I will be learning as I code), and I have never used linq or entity (or mvc). Which should I use? Does it matter?
edit: I will be having a lot of different databases, from Oracle to FoxPro.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I was in the same position as you a few months back. I took on a project to be done in MVC after spending a lot of time in ASP.NET web forms and using (very happily and successfully) subsonic as the ORM.
I opted to use the Entity Framework and although MVC and the EF were completely new to me, I have not lived to regret it. I like the structure and separation it brings. It produces much cleaner code which in turn makes it easier to maintain too. In fact, when I have to go back to maintain older projects we have done in web forms, the benefits of MVC and the EF become even clearer. Linq to Entities is very quick to pick up too and becomes second natuire to you very quickly as well.
So in my opinion, use MVC and the Entity Framework, you’ll thank yourself in the long run.