Freigeben über


DelegationParameters Class

Definition

For use with TableValue and delegation. Describe delegation parameters such as filters, column selection, and sorting.

public abstract class DelegationParameters
type DelegationParameters = class
Public MustInherit Class DelegationParameters
Inheritance
DelegationParameters

Constructors

DelegationParameters()

Fields

ODataAggregationResultFieldName

When using OData with top level aggregation the field name to use to store the result. e.g. result of Sum(Employees, Salary).

Properties

ExpectedReturnType

Expected type query needs to return.

Features

Which features does this use - so we can determine if we support it.

Top

Methods

EnsureOnlyFeatures(DelegationParameterFeatures)

Throw if the parameters use features outside the feature list.

GetColumns()
GetODataApply()

Get OData $apply parameter string.

GetOdataFilter()
GetODataQueryString()

Returns OData query string which has all parameter like $filter, $apply, etc.

GetOrderBy()

Returns the list of (column name, ascending/descending) where ascending=true.

ReturnTotalCount()

Get OData $count flag.

Applies to