What is difference between .edmx and .dbml file in linq?

user649802 picture user649802 · Mar 18, 2011 · Viewed 43.1k times · Source

What is difference between .edmx and .dbml file in linq?In VS 2008 which datasource is best choice where edmx or dbml?Any problem will arise using edmx file in VS 2008?Can i use edmx in VS-2008?

Answer

Mikael Östberg picture Mikael Östberg · Mar 18, 2011

edmx is the modeling file for Entity Framework.

dbml is the modeling file for Linq 2 Sql.

You should spend your time learning Entity Framework as Linq 2 Sql is deprecated.