O'Reilly logo

Programming Windows® Services with Microsoft® Visual Basic® 2008 by Michael Gernaey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required