• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1650
  • Last Modified:

EntityDataSource, ObjectDataSource, and LinqDataSource - For what and how to use them

Hi:

We're creating web applications using Visual Studio 2010 and Visual Basic.

We saw in the list of data sources offered by VS 2010: EntityDataSource, ObjectDataSource, and LinqDataSource beside AccessDataSource (used with Access db) and SqlDataSource (used with SQL server db)

Would you help to explain for what applications these datasources are used and examples of how to use them?

Thanks a lot,

Somits
0
somits
Asked:
somits
2 Solutions
 
CodeCruiserCommented:
ObjectDataSource, as the name suggests is used with collections/lists of objects. For example, a list of customers. LINQDataSource is similar but it works with LINQed collections of objects such as iqueryable and ienumerable etc. EntityDatasource is used with EntityFramework which is a different data access technology.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now