Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –>
*System.Object ThinkGeo.MapSuite.MvcEdition.EntityModelBinder *ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
EntityModelBinder |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
BindModel | ControllerContext, ModelBindingContext | 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 | ||
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 –> 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
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.