LINQLINQ Stands for Language Integrated Query, so named since it is part of the programming language like C#. It is used to provide consistent access to various data sources like databases and XML. Before LINQ we used various languages and technologies to access different data sources. Now with LINQ we can use the same syntax to access the different data sources from within the language itself.Without LINQ, ADO.NET is the best choice to manipulate the data of a database. But ADO.NET uses tables, relations and other relational database constructs which needs to be mapped to the application objects. This is more error prone.Since LINQ is a part of language it benefits from strong typing features like compile time checking for errors. Without LINQ we used to pass SQL to the database at runtime and we get the error only at runtime which is difficult to debug. There are three main different varieties of LINQ or three LINQ providers provided by Microsoft. All the three providers are built on top of the same LINQ foundation. The providers are used to provide access to different types of data sources. We can also create our own data provider for LINQ to access our data source. This is known as the extensibility feature of the LINQ.In the above diagram LINQ providers act as a bridge between LINQ and the data sources like SQL and XML.The three main data providers provided by Microsoft are:
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: