Sys.Data.AdoNetQueryBuilder Class

Provides methods and properties for manually creating a data service query.

Namespace: Sys.Data

Inherits: None.

var a = new Sys.Data.AdoNetQueryBuilder(uri);

Public Constructors

Name

Description

Sys.Data.AdoNetQueryBuilder Constructor

Creates a new instance of the AdoNetQueryBuilder class.

Members

Member

Description

Sys.Data.AdoNetQueryBuilder.toString Method

Writes the query as a URI path.

Sys.Data.AdoNetQueryBuilder.expand Property

Gets or sets the expression that represents the property or properties to return with underlying data.

Sys.Data.AdoNetQueryBuilder.filter Property

Gets or sets an expression that represents the condition that must be met for an element to be returned by the query.

Sys.Data.AdoNetQueryBuilder.orderby Property

Gets or sets the string expression that specifies how to order the query results.

Sys.Data.AdoNetQueryBuilder.queryParameters Property

Gets a collection of parameters that are used for the query.

Sys.Data.AdoNetQueryBuilder.resourcePath Property

Gets the URI path for the target data in the query.

Sys.Data.AdoNetQueryBuilder.skip Property

Gets or set the number of elements to bypass when data is returned.

Sys.Data.AdoNetQueryBuilder.top Property

Gets or sets the maximum number of elements to return in a query.

Remarks

Generally, you will not use the AdoNetQueryBuilder class to interact with an ADO.NET data service from client script. Instead, you use the AdoNetServiceProxy class to perform data operations. The AdoNetServiceProxy class uses the AdoNetQueryBuilder class to create the query.

See Also

Other Resources

ADO.NET Data Services Framework