Definition at line 23 of file TableExtensions.cs.
static IQueryable Deveel.Data.Linq.TableExtensions.AsQueryable |
( |
this ITable |
table, |
|
|
Type |
elementType |
|
) |
| |
|
inlinestatic |
Definition at line 24 of file TableExtensions.cs.
25 var type = typeof (QueryableTable<>).MakeGenericType(elementType);
26 var provider =
new TableQueryProvider(table);
27 return Activator.CreateInstance(type, provider) as IQueryable;
Definition at line 30 of file TableExtensions.cs.
31 return new QueryableTable<T>(
new TableQueryProvider(table));
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-linq/Deveel.Data.Linq.old/TableExtensions.cs