메소드 | 설명 | |
---|---|---|
BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object |
메소드 | 설명 | |
---|---|---|
BindProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
GetPropertyValue ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
OnModelUpdated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : void | ||
OnModelUpdating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : bool |
Called when the model is updating. We handle updating the Id property here because it gets filtered out of the normal MVC2 property binding.
|
|
OnPropertyValidated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
OnPropertyValidating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
SetProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
메소드 | 설명 | |
---|---|---|
IsEntityType ( |
||
IsModelErrorAddedByMvc ( System.Web.Mvc.ModelError modelError ) : bool | ||
IsMvcModelBinderFormatException ( System.Web.Mvc.ModelError modelError ) : bool | ||
IsSimpleGenericBindableEntityCollection ( |
||
SetEntityCollectionProperty ( System.Web.Mvc.ModelBindingContext bindingContext, |
If the property being bound is a simple, generic collection of entiy objects, then use reflection to get past the protected visibility of the collection property, if necessary.
|
|
SetIdProperty ( System.Web.Mvc.ModelBindingContext bindingContext, |
If the property being bound is an Id property, then use reflection to get past the protected visibility of the Id property, accordingly.
|
public BindModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : object | ||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
리턴 | object |
protected BindProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
리턴 | void |
protected CreateModel ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
modelType | ||
리턴 | object |
protected GetPropertyValue ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
propertyBinder | IModelBinder | |
리턴 | object |
protected OnModelUpdated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : void | ||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
리턴 | void |
protected OnModelUpdating ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext ) : bool | ||
controllerContext | System.Web.Mvc.ControllerContext | The context within which the controller operates. The context information includes the controller, HTTP content, request context, and route data. |
bindingContext | System.Web.Mvc.ModelBindingContext | The context within which the model is bound. The context includes information such as the model object, model name, model type, property filter, and value provider. |
리턴 | bool |
protected OnPropertyValidated ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
value | object | |
리턴 | void |
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 | |
리턴 | bool |
protected SetProperty ( System.Web.Mvc.ControllerContext controllerContext, System.Web.Mvc.ModelBindingContext bindingContext, |
||
controllerContext | System.Web.Mvc.ControllerContext | |
bindingContext | System.Web.Mvc.ModelBindingContext | |
propertyDescriptor | ||
value | object | |
리턴 | void |