SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 427 | Next

Scott Klein

"Professional LINQ"


The following section shows you how to create a LINQ to DataSet project in Visual Studio, and the rest
of this chapter explains how to load data into a DataSet and then how to query that DataSet using LINQ
to DataSet.
Creating a LINQ to DataSet Project
A LINQ to DataSet project is created the same way any other normal project is created. The difference is
that you have to include a few additional references and using directives. Fire up Visual Studio 2008 and
create a new C# Windows project. Make sure that you target.NET Framework version 3.5.
By default, Visual Studio should include all the necessary references you need to work with LINQ and
LINQ to DataSet. But if you are upgrading an existing project from an earlier version of Visual Studio,
or even a project created in an early beta of Visual Studio, you will need to manually add the necessary
references.
At a minimum, a LINQ to DataSet project needs a reference to the System.Core namespace and
the System.Data.DataSetExtensions namespace. These two namespaces are in addition to the standard
System.


Pages:
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6