View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 401 ASP.NET
Reading 09
(All My Notes are attributed/sourced from the Resources directly preceding them.)
Summary
Language Integrated Query (LINQ) is the name for the integration of query capable technologies with C#
SQL
XML
Web Services
Queries can be written IEnumerable objects
3 parts to a query operation in C#:
Obtain the data source (IEnumerable Object)
Create the query
Execute the query
Queries normally are deferred, which means it waits for iteration completion to execute. However, you can force the query to execute immediately.
Some reasons for querying a data source:
Filtering
Ordering
Grouping
Joining - Combining data sources
Resources
Language Integrated Query (LINQ)
Author: Microsoft Docs
Article Source
Introduction to LINQ Queries (C#)
Author: Microsoft Docs
Article Source
Basic LINQ Query Operations (C#)
Author: Microsoft Docs
Article Source
Walkthrough: Writing Queries in C# (LINQ)
Author: Microsoft Docs
Article Source
C# 7.0 in a Nutshell (Chapter 8: LINQ Queries)
Authors: Joseph Albahari & Ben Albahari
<– Back