With .NET, which data access method is better to use "LINQ to SQL",entity framework, or NHibernate?
Should a different method be used depending on the situation or is it more of a personal preference?
If so which method and when?
With .NET, which data access method is better to use "LINQ to SQL",entity framework, or NHibernate?
Should a different method be used depending on the situation or is it more of a personal preference?
If so which method and when?
MVC has nothing to do with data.
I also wonder where you've been hiding if you've been hearing about these things "every couple of months". Both LINQ to SQL and Entity Framework were part of .NET 3.5, released last year.
MVC is unrelated to data access. If you're wondering whether to choose between Linq2Sql, EF or something else, my answer until the release of the new EF is to go with NHibernate, fluent or otherwise.
I depends on the complexity and goals of the project . If you are aiming at bringing some simple sets of data in using plain sql then linq-to-sql is good . But if you are planning to take advantage of sophistication of full fledged ORM , like first and second level caching, transactional write behind, oo query language,plugin points ect.. then Nhibernate is the way to go .