Share via


EntityQuery.Query Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the underlying IQueryable for the query.

Namespace:  System.ServiceModel.DomainServices.Client
Assembly:  System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)

Syntax

'Declaration
Public Property Query As IQueryable
    Get
    Protected Set
'Usage
Dim instance As EntityQuery
Dim value As IQueryable

value = instance.Query

instance.Query = value
public IQueryable Query { get; protected set; }
public:
property IQueryable^ Query {
    IQueryable^ get ();
    protected: void set (IQueryable^ value);
}
member Query : IQueryable with get, set
function get Query () : IQueryable
protected function set Query (value : IQueryable)

Property Value

Type: System.Linq.IQueryable
The object for the query method invocation, or nulla null reference (Nothing in Visual Basic) if no query exists.

See Also

Reference

EntityQuery Class

System.ServiceModel.DomainServices.Client Namespace