Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

LINQ

< >

LINQ is a query language created in 2007.

#1437on PLDB 17Years Old

Language Integrated Query (LINQ, pronounced "link") is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages, although ports exist for PHP (PHPLinq), JavaScript (linq.js), TypeScript (linq.ts), and ActionScript (ActionLinq) - but none of these ports are strictly equivalent to LINQ in C# for example (where it is a part of the language, not an external library, and where it often addresses a wider range of needs). LINQ extends the language by the addition of query expressions, which are akin to SQL statements, and can be used to conveniently extract and process data from arrays, enumerable classes, XML documents, relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the construction of event handlers or monadic parsers. Read more on Wikipedia...


Example from Wikipedia:
[Table(Name="Customers")] public class Customer { [Column(IsPrimaryKey = true)] public int CustID; [Column] public string CustName; }

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io