DataSourceOptionsBuilder Methods

Provides methods that allow you to configure initial sorting, filtering, grouping, and other data shaping operations.
Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Filter(Object) Specifies data filtering conditions.
Filter(String) Specifies data filtering conditions.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Group(String, Boolean) Specifies data grouping options.
Map(RazorBlock) The item mapping function.
Map(String) The item mapping function.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnLoadError(RazorBlock) Mirrors the client-side onLoadError option.
OnLoadError(String) A handler for the loadError event.
OnLoadingChanged(RazorBlock) Mirrors the client-side onLoadingChanged option.
OnLoadingChanged(String) A handler for the loadingChanged event.
Option(String, Object) Specifies an option by its name.
PageSize(Int32) Specifies the maximum number of items the page can contain.
Paginate(Boolean) Specifies whether a DataSource loads data by pages, or all items at once.
PostProcess(RazorBlock) The data post processing function.
PostProcess(String) The data post processing function.
PushAggregationTimeout(Double) Specifies the period (in milliseconds) when changes are aggregated before pushing them to the DataSource.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ReshapeOnPush(Boolean) Specifies whether to reload data after receiving a push update.
SearchExpr(String[]) Specifies the fields to search.
SearchOperation(FilterOperations) Specifies the comparison operation used in searching.
Select(String[]) Specifies the fields to select from data objects.
Sort(Action<DataSourceSortBuilder>) Specifies data sorting options.
Sort(String, Boolean) Specifies data sorting options.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also