Provides a fluent interface for configuring custom CRUD operations in data sources.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class CustomCrudOperationBuilder : CrudOperationBuilderBase<CustomCrudOperationBuilder>
Inheritance: objectCrudOperationBuilderBase<CustomCrudOperationBuilder>CustomCrudOperationBuilder
Derived Classes:
Inherited Members
Constructors
C#
public CustomCrudOperationBuilder(CrudOperation operation, ViewContext viewContext, IUrlGenerator urlGenerator)
Methods
Sets the cache option of the operation. If set to false, it will force requested pages not to be cached by the browser.
C#
public CustomCrudOperationBuilder Cache(bool isEnabled)
Enable or disable the operation cache
Returns:Sets the contentType option of the operation.
C#
public CustomCrudOperationBuilder ContentType(string type)
contentType
Returns:Sets the dataType option of the operation.
C#
public CustomCrudOperationBuilder DataType(string type)
DataType of the operation
Returns: