what ADO.Net version is currenlty used in ASP.net MVC 2?

Current ASP.Net MVC 2 uses Linq to SQL or Linq to entites? i am using VS 2008.

Answers


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)

Need Your Help

Java - Sorting An Array List By File Size

java arrays arraylist

I am creating a class that will take in a number, say 10, and create an ArrayList of Files no greater than 10. Basically my program scans a directory and the sub-directories and gets all of the fil...