Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Video How Tos
Visual Basic Videos
 Video How to: Simple Object Model a...
 Collapse AllExpand All        Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript 
Video How to: Simple Object Model and Query (Visual Basic) (LINQ to SQL)

Updated: November 2007

Simple Object Model and Query (Visual Basic)Video How To

Authors: Harry Miller, Kathleen McGrath, Jo Molnar, Microsoft Corporation

Applies to: Microsoft Visual Basic 2008

Length: 00:03:46 | Size: 18.2 MB | Type: WMV file

 

Watch the video

Download the video and transcript

Read the step-by-step article

LINQ to SQL provides a run-time infrastructure for managing relational data as objects. Relational data appears as a collection of two-dimensional tables, where common columns relate tables to each other. In LINQ to SQL, the data model of a relational database is mapped to an object model expressed in Visual Basic.

This video shows you how to create a basic LINQ to SQL application. The following tasks are included in the process:

  • Mapping a class to a database table.

  • Designating properties on the class to represent database columns.

  • Specifying the connection to the database.

  • Creating a simple LINQ query to run against the database.

  • Executing the query and observing the results.

The Visual Basic Help includes the code and the steps that are demonstrated in this video. See Walkthrough: Simple Object Model and Query (Visual Basic) (LINQ to SQL).

Tags What's this?: linq (x) Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker