LINQ Language Integrated Query. LINQ Is Coming With C# 3.0
LINQ Language Integrated Query. LINQ Is Coming With C# 3.0
LINQ = Language Integrated Query. LINQ is coming with C# 3.0. LINQ will extend the .NET framework by providing general purpose query facilities that apply to all sources of information.
Advantages of LINQ
LINQ
Advantages of LINQ
For now : dynamically-created string queries. - Doesn't provide compile-time checking. - Native code and non-native code is mixed.
Advantages of LINQ
With LINQ : static typing. - Compile-time syntax checking, - IntelliSense, - Native code.
LINQ syntax
LINQ syntax
DLINQ : a LINQ technology allowing to use LINQ queries to create, read, and update a database. How does it work ?
First, define classes following the database schema (a class = a table, a property = a column), Then, create a DataContext object, linked to the database, and get one object per table (object of the classes defined above). Finally, make LINQ queries on these objects.
XLINQ : a LINQ technology allowing to use LINQ queries to create, read, and update an XML file.
LINQ
Implicitly-typed variables (var keyword), Extension methods, Lambda expressions, Anonymous types, ...
http://msdn2.microsoft.com/en-us/netframework/aa904594.aspx
ftp://ftp-developpez.com/morpheus/linq/linq.pdf