Which is the best solution for 3-tier arch. Linq to SQL or Nhibernate?
Specifically, I will upgrade a system in 2-tier architecture to 3-tier architecture?
Edit: And where can I find good tutorials or videos for both?
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.
If you’re only ever need to support one DB platform and have your database model already, LINQ-to-SQL makes sense.
However, you could also use FluentNHibernate to generate the mappings for you.
If support for multiple DB’s and granular and flexible control over mappings is important, go NHibernate. Else, LINQ-to-SQL will do fine. Avoid LINQ-to-Entities like the plague, for now at least (v4.0 may improve things).