Effective C# (Covers C# 6.0), (includes Content Update Program): 50 Specific Ways to Improve Your C# (Effective Software Development Series) by Bill Wagner

Effective C# (Covers C# 6.0), (includes Content Update Program): 50 Specific Ways to Improve Your C# (Effective Software Development Series) by Bill Wagner

Author:Bill Wagner [Wagner, Bill]
Language: eng
Format: epub, mobi
Publisher: Pearson Education
Published: 2016-11-28T23:00:00+00:00


4. Working with LINQ

The driving force behind the language enhancements to C# 3.0 was LINQ. The new features and the implementation of those features were driven by the need to support deferred queries, translate queries into SQL to support LINQ to SQL, and add a unifying syntax to query the various data stores. Chapter 4 shows you how those language features can be used for many development idioms in addition to data query. This chapter concentrates on using those features for querying data, regardless of source.

A goal of LINQ is that language elements perform the same work no matter what the data source is. However, even though the syntax works with all kinds of data sources, the query provider that connects your query to the actual data source is free to implement that behavior in different ways. If you understand the behaviors, it will be easier to work with various data sources transparently. If you need to, you can even create your own data provider.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.