Share via


QueryDescription Class

[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.]

Represents a query operation to be processed by a DomainService.

Inheritance Hierarchy

System.Object
  System.ServiceModel.DomainServices.Server.QueryDescription

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

Syntax

'Declaration
Public NotInheritable Class QueryDescription
'Usage
Dim instance As QueryDescription
public sealed class QueryDescription
public ref class QueryDescription sealed
[<SealedAttribute>]
type QueryDescription =  class end
public final class QueryDescription

The QueryDescription type exposes the following members.

Constructors

  Name Description
Public method QueryDescription(DomainOperationEntry) Initializes a new instance of the QueryDescription class with the specified DomainOperationEntry.
Public method QueryDescription(DomainOperationEntry, Object[]) Initializes a new instance of the QueryDescription class with the specified DomainOperationEntry and parameter values.
Public method QueryDescription(DomainOperationEntry, array<Object[], Boolean, IQueryable) Initializes a new instance of the QueryDescription class with the specified DomainOperationEntry, parameter values, flag indicating whether to evaluate and include the total entity count in the result, and optional query.

Top

Properties

  Name Description
Public property IncludeTotalCount Gets a value indicating whether the total entity count needs to be automatically evaluated and included in the result.
Public property Method Gets the query operation to be processed.
Public property ParameterValues Gets the parameter values for the method.
Public property Query Gets the query to compose over the results.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.ServiceModel.DomainServices.Server Namespace