Partager via


Table<TEntity>.IQueryProvider.CreateQuery Method (Expression)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

For a description of this member, see CreateQuery.

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

Syntax

'Declaration
Private Function CreateQuery(Of TResult) ( _
    expression As Expression _
) As IQueryable(Of TResult) Implements IQueryProvider.CreateQuery
IQueryable<TResult> IQueryProvider.CreateQuery<TResult>(
    Expression expression
)

Type Parameters

  • TResult
    The type of the data in the table.

Parameters

Return Value

Type: System.Linq.IQueryable<TResult>
An IQueryable that can evaluate the query represented by the specified expression tree.

Implements

IQueryProvider.CreateQuery<TElement>(Expression)

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.