Table<TEntity>.IQueryProvider.Execute<TResult> Method (Expression)


Executes the strongly-typed query represented by a specified expression tree.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

TResult IQueryProvider.Execute<TResult><TResult>(
	Expression expression


Type: System.Linq.Expressions.Expression

The query expression to execute.

Return Value

Type: TResult

The value that results from executing the specified query.

Type Parameters


The type of the data in the table.

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an IQueryProvider interface.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top