Friday, April 10, 2015

LINQ Architecture & LINQ Providers

If the .NET application that is being developed
a) Requires data from SQL Server - Then the developer has to understand ADO.NET code and SQL specific to SQL Server Database
b) Requires data from an XML document - Then the developer has to understand XSLT & XPATH queries

c) Need to query objects in memory (List<Customer>, List<Order> etc) - Then the developer has to understand how to work with objects in memory

LINQ enables us to work with these different data sources using a similar coding style without having the need to know the syntax specific to the data source.
LINQ Architecture & LINQ Providers
LINQ Architecture

1. LINQ query can be written using any .NET supported programming language
2. LINQ provider is a component between the LINQ query and the actual data source, which converts the LINQ query into a format that the underlying data source can understand. For example LINQ to SQL provider converts a LINQ query to T-SQL that SQL Server database can understand.

ref: http://csharp-video-tutorials.blogspot.in/2014/06/part-1-what-is-linq.html

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More