ASP.NET - LINQ Benefits

I have been using LINQ recently. But when I come across an interview, I can’t explain:

  • What is LINQ?

  • Also, is DataSet deprecated due to LINQ?

In terms of interviews, how do I answer these questions?

+3
source share
4 answers

LINQ is a set of extensions to the .NET platform that allows language integrated queries. This basically means that we can use the same type of syntax to query any dataset — be it an SQL database, Active Directory or XML file — we can use the same syntax to execute queries.

, LINQ , - - , , - LINQ-to-Objects, LINQ-to-SQL LINQ-to-XML, , LINQ SQL, XML .

LINQ DataSets - LINQ . , DataSets LINQ LINQ-to-SQL, ORM. , - , LINQ-to-SQL.

+8

LINQ . , DataSet , LINQ .

+2

, @RaYell , , LINQ LINQ to SQL, , DataSet.

+2

Entity Framework LINQ SQL, OOD, . xml csql, sql. , , , . . , "Entity Framework to Dataset" "Entity Framework to XML" , LINQ, , , . , , LINQ to XML LINQ to DATASET, Entity Framework. , DataSet , , , , Entity FrameWork , , , .

+1
source

Source: https://habr.com/ru/post/1725038/


All Articles