views:

15

answers:

1

Hi,

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

Cheers

+2  A: 

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)
XIII
thanks XIII, i just started look in to that MVC and Entity framework.. thanks for the link.. :)
Ramesh Vel
+1 for the link, looks an interesting read.
fearofawhackplanet