Point out the wrong statement about LINQ to SQL.

PYQ Cognizant GenC 2023

Point out the wrong statement about LINQ to SQL.

  1. A.

    LINQ to SQL is translated to SQL by way of Binary Trees

  2. B.

    LINQ to SQL is translated to SQL calls and executed on the specified database, while LINQ to Objects is executed in the local machine memory

  3. C.

    LINQ to SQL uses deferred execution: query construction only builds an expression tree, and the SQL is generated and run only when the query is consumed — via enumeration or an executing operator such as ToList(), Count(), or First()

  4. D.

    LINQ to SQL needs a Data Context object

Attempted by 3 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cognizant Preparation

Loading lesson…