asenumerable

Understanding .AsEnumerable() in LINQ to SQL

Given the following LINQ to SQL query: var test = from i in Imports where i.IsActive select i; The interpreted SQL statement is: SELECT [t0].[id] AS [Id] .... FROM [Imports] AS [t0] WHERE [t0].[isActive] = 1 Say I wanted to perform some action in the select that cannot be converted to SQL. Its my understanding...

Datatable does not contain a definition for AsEnumerable using LinqBridge1.1 in C#2.0

Hi, i'm trying to use linq in c#2.0(linqbridge) to search for a patient name in my database, but i'm getting the following errors: System.Data.Datatable does not contain a definition for AsEnumerable() System.Data.Datatable does not contain a definition for CopyToDataTable() I added the linqBridge.dll reference to my project. And i'm us...