dcsimg
 

Programming with LINQ to SQL

Saturday Mar 8th 2008 by DatabaseJournal.com Staff

You can use LINQ to SQL to define an Object Relational Mapping between SQL tables and then query those tables with LINQ.

[From Developer.com]

The concept of object relational mapping (ORM) is not new. An ORM is a class (called an entity in this context) that has properties or fields that map to database columns. In this article, I will show you how easy it is to use LINQ to SQL to define an ORM, mapping a class to a database table, and then query that table with LINQ using a DataContext. A DataContext plays the role of the connection here.

The article continues at http://www.developer.com/db/article.php/3732556

Home
Mobile Site | Full Site