Using LINQ To SQL

There are multiple forms of LINQ when using Microsoft Visual Basic, such as LINQ for DataSets and LINQ To SQL. We will use LINQ To SQL, which is one technology that extends the abilities of Visual Basic 2008.

LINQ To SQL is a way for Visual Basic to create classes that represent data entities. You can use these entitites to describe a table in which you then use LINQ to query or manipulate the underlying data or structure. You define a class that represents the implementation of the SQL structure and attributes.

I will describe one way to create the Data Entity class implementation for LINQ To SQL.

Creating the Users Table Data Entity Class with LINQ To SQL File

The easiest method of creating the class is to use the LINQ To SQL tool ...

Get Programming Windows® Services with Microsoft® Visual Basic® 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.