Click or drag to resize
Infosoft Logo

QueryMetadata Class

Holds metadata used to change the behavior of an entity query in a way that makes it exchangeable across a serialization context. For instance so it can be used in webservices.
Inheritance Hierarchy
SystemObject
  Infosoft.Common.Contracts.DataContracts.ServiceModelQueryMetadata

Namespace: Infosoft.Common.Contracts.DataContracts.ServiceModel
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
public class QueryMetadata

The QueryMetadata type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleIncludes Gets or sets the list of include queries to execute. Each include string is a relation path.
Public propertyOrderBy Gets or sets the property name to order by. This can be used to pre-sort the results of the query. Must be used if paging is required ResultsOffset and ResultsCount.
Public propertyResultsCount Gets or sets the maximum number of results to return, used for paging with ResultsOffset. Works like the TOP or LIMIT clauses in SQL statements
Public propertyResultsOffset Gets or sets the results offset for use in paging. Can be used with ResultsCount to limit the number of results returned. Works like the OFFSET part in TOP or LIMIT sql statements.
Top
See Also