ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
<!– Class –>
*System.Object ThinkGeo.MapSuite.MvcEdition.EntityModelBinder *ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
MapEntityModelBinder |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
BindModel | ControllerContext, ModelBindingContext | EntityModelBinder | Binds the model to a value by using the specified controller context and binding context. |
Equals | Object | Object | |
GetHashCode | Object | ||
GetType | Object | ||
ToString | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
BindModelCore | ControllerContext, ModelBindingContext | EntityModelBinder(overriden) | |
Finalize | Object | ||
MemberwiseClone | Object |
Name | Return | DeclaringType | Summary |
---|
Name | Return | DeclaringType | Summary |
---|
Name | Event Arguments | DeclaringType | Summary |
---|
Name | Type | Description |
---|
Binds the model to a value by using the specified controller context and binding context.
Return Type | Description |
---|---|
Object<!– System.Object –> | The bound value, it will create the instance of the ModelType of bindingContext by converting all the relevant types from the incoming HTTP request. The method we first check whether it contains called modelName parameters, if any, directly call the Fill method to fill the object with the corresponding values of the parameters. If not, check the Form is empty, if not empty, Form filled object. If the Form is empty, check the QueryString is empty, if not empty QueryString to fill the object, if you are empty, null is returned. here only one example of the actual project may here need other forms of control and judgment are bound even create multiple ModelBinder to different entities. |
Name | Type | Description |
---|---|---|
controllerContext | ControllerContext<!– System.Web.Mvc.ControllerContext –> | The controller context, holds information about the current HTTP request and about the associated controller. |
bindingContext | ModelBindingContext<!– System.Web.Mvc.ModelBindingContext –> | The binding context, holds information about the model itself and its metadata. |
<!– ThinkGeo.MapSuite.MvcEdition.EntityModelBinder –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|---|---|
controllerContext | ControllerContext<!– System.Web.Mvc.ControllerContext –> | |
bindingContext | ModelBindingContext<!– System.Web.Mvc.ModelBindingContext –> |
<!– ThinkGeo.MapSuite.MvcEdition.EntityModelBinder(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back