开发者

Language Integrated Query [closed]

开发者 https://www.devze.com 2023-01-05 03:31 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.
  1. What is the purpose of LINQ?
  2. Where LINQ can be used?
  3. How necessary is it to learn the 开发者_如何学编程LINQ?
  4. What is the best way to learn LINQ?


Ans 1 : LINQ is a uniform programming model for any kind of data access. LINQ enables you to query and manipulate data independently of data sources.

Ans 2 :

Language Integrated Query [closed]


(source: codeproject.com)

Ans of 3 question : LINQ: .NET Language-Integrated Query

Ans 4 : use LINQPad to learn linq

check this article : LINQ FAQ for Newbie’s


Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual Basic. 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. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.

best way to learn LINQ is do all the examples in MSDN


What is the purpose of LINQ?

A set of class include in .Net

Where LINQ can be used?

Querying sources of data (Database, xml files ...)

  • Linq To Sql : Query Databases but in this case i would recommend the Entity Framework.
  • Linq To Xml : Query Xml files.
  • Linq To Objects : You can Query Collections of objects in Memory

What is the best way to learn LINQ?

Visit the LINQ page on MSDN http://msdn.microsoft.com/en-us/library/bb397926.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消