.NET news » Search results
Search results for query "linq" (31):
Online Article: LINQ
How does it work in C#? - Part 3 (C# LINQ in detail)
Explore the Data Access Options in Visual Studio 2008
In Visual Studio 2008 running on the .NET framework 3.5, developers can not only create DataReaders and DataSets; Microsoft has also added LINQ to SQL, Entity Framework, and ADO.NET Data Services, which leverages the first two. These new options of course, mean that you have new syntaxes to learn. LINQ, which is built into Visual Basic and C#, has one implementation for LINQ to SQL and another for LINQ to Entities. In Entity Framework, you have the option to use LINQ to Entities or make queries in two other ways with Entity SQL…
Poor Man's LINQ in Visual Studio 2005
LINQ to Life
Building Linq Expressions Dynamically
Using LINQ and Extension Methods in C# to Sort Vectors and Two-Dimensional Arrays
What's New in C# 3.0? Part 2
LINQ Into Microsoft's New Query Capabilities
An Extensive Examination of LINQ: Extending LINQ - Adding Query Operators
As discussed in earlier installments of this article series - most notably in An Introduction to LINQ
and The Standard Query Operators - one of LINQ's primary components is its set of standard
query operators. A query operator is a method that operates on a sequence of data and performs some task based on that data, are implemented as
extension methods on types that implement
the IEnumerable<T> interface. Some of the standard query operators that we've
explored throughout the articles in this series include: Count, Average, First, Skip, Take, Where,
and OrderBy, among others.
While these standard query operators provide a great detail of functionality, there may be situations where they fall short. The good news is that it's quite easy to create
your own query operators. Underneath the covers query operators are just methods that extend types that implement IEnumerable<T> and iterate over the
sequence performing some task, such as computing the total number of items in the sequence, computing the average, filtering the results, or ordering them. This article examines
how to extend LINQ's functionality by creating your own extension methods.


Syndicate