DIFFERENCE BETWEEN L2S and L2O in C#

A. LINQ to Objects queries operate on IEnumerable<T> collections .
A.LINQ to SQL queries operate on IQueryable<T> collections

  • LINQ to SQL needs a Data Context object. The Data Context object is the bridge between LINQ and the database. LINQ to Objects doesn’t need any intermediate LINQ provider or API.

  • Comments