What is LINQ

 

LINQ is Language Integrated Query that introduces the concept of a query as a first-class language construct in C# and Visual Basic. LINQ applies the principles of object-oriented programming to relational data. It provides a unified programming model for querying data from different types of data sources, and extends data capabilities directly into the C# and Visual Basic languages.

LINQ offers the following advantages:
1. LINQ simplifies the way you write queries. If you already know C# or Visual Basic, then you know most of what you need to know to start writing LINQ queries now.

2. LINQ unifies the syntax for querying any data source. You query an XML document in much the same way as a SQL database, an ADO.NET Dataset, an in-memory collection, or any other remote or local data source that chooses to support LINQ.

3. LINQ strengthens the connection between relational data and the object-oriented world. Because a query is a first-class language construct, it can be strongly typed and designer tools can be used to create object-relational mappings.

4. LINQ speeds development time by catching many errors at compile time. Intellisense and debugging support.

Comments

Popular posts from this blog

OutSystems – A Low-code Development Platform

What is difference between Azure Cognitive Search and Elastic Search

failed to access iis metabase asp.net