Gets or sets the WebApiDataSourceSchemaBuilder.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class WebApiDataSourceSchemaBuilder
Inheritance: objectWebApiDataSourceSchemaBuilder
Inherited Members
Constructors
WebApiDataSourceSchemaBuilder method.
Fields
The DataSourceSchema.
protected readonly DataSourceSchema schema
Methods
The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response.
public virtual WebApiDataSourceSchemaBuilder Data(Func<object, object> handler)
A WebApiDataSourceSchemaBuilder instance for method chaining.
The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response.
public virtual WebApiDataSourceSchemaBuilder Data(string data)
Data option
Returns:A WebApiDataSourceSchemaBuilder instance for method chaining.
The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response.
public virtual WebApiDataSourceSchemaBuilder Errors(Func<object, object> handler)
A WebApiDataSourceSchemaBuilder instance for method chaining.
The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response.
public virtual WebApiDataSourceSchemaBuilder Errors(string errors)
Errors option
Returns:A WebApiDataSourceSchemaBuilder instance for method chaining.
The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response.
public virtual WebApiDataSourceSchemaBuilder Total(Func<object, object> handler)
A WebApiDataSourceSchemaBuilder instance for method chaining.
The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response.
public virtual WebApiDataSourceSchemaBuilder Total(string total)
Total option
Returns:A WebApiDataSourceSchemaBuilder instance for method chaining.