Method | Description | |
---|---|---|
CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
For any controller implementing IDotNailsController, this will ask that controller to use its default ModelFactory to create the model entity to be passed into the controller action. This results in the proper initialization of the entity by the factory (most important of which is the setting of the DataContext). For any other controller, the default binder is used to create the entity.
|
|
GetDisplayName ( |
||
GetValidationAttributes ( |
||
OnPropertyValidating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
protected CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
modelType | ||
return | object |
protected static GetDisplayName ( |
||
descriptor | ||
return | string |
protected static GetValidationAttributes ( |
||
propertyDescriptor | ||
return | IEnumerable |
protected OnPropertyValidating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
value | object | |
return | bool |