What are benefits of using LINQ in Dataset?

devquora
devquora

Posted On: Feb 22, 2018

 

The main motive to use LINQ in a dataset is to retrieve strongly typed queries in a dataset. LINQ is used when we want to combine values from two different datasets, or we want a unique value from the dataset.

You can use SQL queries to populate the dataset, but you cannot use SQL queries to retrieve values. If you want to retrieve particular values, you have to use ADO.NET functionalities. In the case of LINQ, it gives a clearer way of querying the dataset. LINQ also provides additional features as compared with ADO.NET.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    LINQ Interview Questions

    What do you understand by LINQ?

    Language Integrated Query is the collection of standard query operators which adds query facilities into .NET framework..

    LINQ Interview Questions

    What are the three main components of LINQ?

    The three main components of LINQ are:Standard Query Operators: These are the extension methods that form the LINQ p..

    LINQ Interview Questions

    Explain what is select clause and where clause in LINQ?

    Select clause: the select clause selects the interesting aspects of the element by performing a projection on the col..