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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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

TResult

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
Show: