Description:
Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio that extends powerful query capabilities to the language syntax of C# and Visual Basic. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.
LINQ allow us to use multiple where clause in query like the following below query:
Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio that extends powerful query capabilities to the language syntax of C# and Visual Basic. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.
LINQ allow us to use multiple where clause in query like the following below query:
var query = from r in tempData.AsEnumerable()
where r.Field<string>("UserName") != "abc"
where r.Field<string>("UserName") != "xyz"
select r;
No comments:
Post a Comment