CustomCrudOperationBuilder
Methods
ContentType(System.String)
Sets the contentType option of the operation.
Parameters
type - System.String
contentType
Cache(System.Boolean)
Sets the cache option of the operation. If set to false, it will force requested pages not to be cached by the browser.
Parameters
isEnabled - System.Boolean
Enable or disable the operation cache
DataType(System.String)
Sets the dataType option of the operation.
Parameters
type - System.String
DataType of the operation
Route(System.Web.Routing.RouteValueDictionary)
Sets the route values for the operation.
Parameters
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Action(System.String,System.String,System.Object)
Sets the action, contoller and route values for the operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
routeValues - System.Object
Route values
Action(System.String,System.String,System.Web.Routing.RouteValueDictionary)
Sets the action, contoller and route values for the operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Action(System.String,System.String)
Sets the action and contoller values for the operation.
Parameters
actionName - System.String
Action name
controllerName - System.String
Controller name
Route(System.String,System.Web.Routing.RouteValueDictionary)
Sets the route name and values for the operation.
Parameters
routeName - System.String
Route name
routeValues - System.Web.Routing.RouteValueDictionary
Route values
Route(System.String,System.Object)
Sets the route name and values for the operation.
Parameters
routeName - System.String
Route name
routeValues - System.Object
Route values
Route(System.String)
Sets the route name for the operation.
Parameters
routeName - System.String
Action(System.Linq.Expressions.Expression)
Parameters
controllerAction - System.Linq.Expressions.Expression<Action>
Data(System.Func)
Sets JavaScript function which to return additional parameters which to be sent the server.
Parameters
handler - System.Func<Object,Object>
Data(System.String)
Sets JavaScript function which to return additional parameters which to be sent the server.
Parameters
handler - System.String
JavaScript function name
Url(System.String)
Specifies an absolute or relative URL for the operation.
Parameters
url - System.String
Absolute or relative URL for the operation
Type(System.Web.Mvc.HttpVerbs)
Specifies the HTTP verb of the request.
Parameters
verb - System.Web.Mvc.HttpVerbs
The HTTP verb
Headers(System.Object)
Specifies the HTTP headers.
Parameters
headers - System.Object
Headers(System.Collections.Generic.IDictionary)
Specifies the HTTP headers.