what ADO.Net version is currenlty used in ASP.net MVC 2?
Current ASP.Net MVC 2 uses Linq to SQ开发者_如何学GoL or Linq to entites? i am using VS 2008.
ASP.NET MVC 2 can also be used with normal ADO.NET. What you use for your data access has nothing to do with what technology you use on the UI side of your architecture.
What probably confuses you a bit at this moment is that you see mostly examples written with Linq to Sql or Entity Framework. However these could also be written with other technologies like Subsonic or NHibernate.
Read this article: Extending NerdDinner: Exploring Different Database Options. It shows the following technologies:
- ADO.NET Connected (DataReaders)
- ADO.NET Disconnected (DataSets)
- LINQ to SQL
- LINQ to Entities (Entity Framework)
精彩评论