Ispirer Ispirer

This is an old revision of the document!

SQLWays Product Page - Migration to .NET Free Evaluation


This article describes LINQ to SQL, .NET language-integrated query for relational databases.

LINQ Query Definition and Execution

LINQ allows defining a query in a high level query expression. The query is not executed immediately, it is a definition.

C# Example:

var q =
   from c in db.Customers
   where c.State == "CA"
   select c;

The query is executed when the application enumerates its content.

C# Example:

foreach (var cust in q)

SQLWays Product Page - Migration to .NET Free Evaluation

sqlways/dotnet/linq-to-sql.1239627538.txt.gz · Last modified: May 07, 2018, 03:11:14 PM (external edit)
© 1999-2020, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement