LINQ - Sample Queries

This project contains about 101 samples using LINQ.

 
 
 
 
 
4.8 Star
(89)
175,652 times
Add to favorites
3/13/2012
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET
C#
<html>
<body>
<h1>101 Sample Queries</h1>

<p>This project contains about 101 samples from each of these areas:</p>

<pre>LINQ To Objects
LINQ To SQL
LINQ to DataSet
LINQ to Xml
</pre>

<p>Run the project, and select the type of LINQ sample that you want to
explore. Drill down into the options, and run each individual sample
that interests you, as shown in Figure 1. The output from the sample 
and the code included in the sample will be displayed in the interface 
of the application.</p>

<p>See the <a href="../../ReadMe.html#Connectivity">Connectivity</a> note found 
in the main ReadMe if you are have trouble running the database samples.</p>

<img src="Images\RunningXmlQuery.jpg" />
    <br />
    <strong>Figure 01: The user has drilled down into "XQuery Use Cases" samples and selected
        a particular type of sample, a "String Search" to run. The code in the sample is
        shown near the top of the form on the right. The output is shown at the bottom right.</strong><br />
    <br />
<img src="Images\RunningSqlQuery.jpg" />
    <br />
    <strong>Figure 02: Running a database sample. Here the user has chosen a LINQ to SQL
        sample. The code for the sample is shown near the top right of the form, and the
        output at the bottom right. Push the Run Sample button to execute each individual
        sample included in the project.</strong>
</body>
</html>