Language-Integrated Query (LINQ) (Visual Basic)Language-Integrated Query (LINQ) (Visual Basic)

LINQ 是可將強大查詢功能擴充至 Visual Basic 語言語法的一組功能。LINQ is a set of features that extends powerful query capabilities to the language syntax of Visual Basic. LINQ 推出標準且容易學習的資料查詢與更新模式,而且這項技術可擴充為支援幾乎所有類型的資料存放區。LINQ introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. .NET Framework 包括 LINQ 提供者組件,可讓您使用 LINQ 搭配 .NET Framework 集合、SQL Server 資料庫、ADO.NET 資料集和 XML 文件。The .NET Framework includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.

本節內容In This Section

LINQ 簡介 (Visual Basic)Introduction to LINQ (Visual Basic)
提供您可撰寫之應用程式類型以及可使用 LINQ 查詢解決之問題類型的一般簡介。Provides a general introduction to the kinds of applications that you can write and the kinds of problems that you can solve with LINQ queries.

使用 Visual Basic 撰寫 LINQ 入門Getting Started with LINQ in Visual Basic
說明為了了解 Visual Basic 文件和範例,您應該知道的基本事項。Describes the basic facts you should know in order to understand the Visual Basic documentation and samples.

LINQ 的 Visual Studio IDE 和工具支援 (Visual Basic)Visual Studio IDE and Tools Support for LINQ (Visual Basic)
說明 Visual Studio 的物件關聯式設計工具、查詢偵錯工具支援,以及與 LINQ 有關的其他 IDE 功能。Describes Visual Studio's Object Relational Designer, debugger support for queries, and other IDE features related to LINQ.

標準查詢運算子概觀 (Visual Basic)Standard Query Operators Overview (Visual Basic)
提供標準查詢運算子的簡介,Provides an introduction to the standard query operators. 並提供包含各種查詢作業類型詳細資訊的主題連結。It also provides links to topics that have more information about each type of query operation.

LINQ to Objects (Visual Basic)LINQ to Objects (Visual Basic)
包含主題連結,說明如何使用 LINQ to Object 來存取記憶體中的資料結構。Includes links to topics that explain how to use LINQ to Objects to access in-memory data structures,

LINQ to XML (Visual Basic)LINQ to XML (Visual Basic)
包含主題連結,說明如何使用 LINQ to XML,以提供「文件物件模型」(DOM) 的記憶體中文件修改功能,並支援 LINQ 查詢運算式。Includes links to topics that explain how to use LINQ to XML, which provides the in-memory document modification capabilities of the Document Object Model (DOM), and supports LINQ query expressions.

LINQ to ADO.NET (入口網站頁面)LINQ to ADO.NET (Portal Page)
提供 LINQ to DataSet、LINQ to SQL 和 LINQ to Entities 相關文件的進入點。Provides an entry point for documentation about LINQ to DataSet, LINQ to SQL, and LINQ to Entities. LINQ to DataSet 可讓您使用其他資料來源適用的相同查詢功能,將更為豐富的查詢功能建置在 DataSet 中。LINQ to DataSet enables you to build richer query capabilities into DataSet by using the same query functionality that is available for other data sources. LINQ to SQL 提供的執行階段基礎結構可以將關聯式資料當成物件來管理。LINQ to SQL provides a run-time infrastructure for managing relational data as objects. LINQ to Entities 可讓開發人員依據 Entity Framework 概念模型,使用 C# 撰寫查詢。LINQ to Entities enables developers to write queries against the Entity Framework conceptual model by using C#.

啟用資料來源以進行 LINQ 查詢Enabling a Data Source for LINQ Querying
介紹自訂 LINQ 提供者、LINQ 運算式樹狀架構,以及擴充 LINQ 的其他方式。Provides an introduction to custom LINQ providers, LINQ expression trees, and other ways to extend LINQ.