User Tools

Site Tools


thinkgeo.mapsuite.mvcedition.entitymodelbinder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
thinkgeo.mapsuite.mvcedition.entitymodelbinder [2015/09/22 08:34]
admin
— (current)
Line 1: Line 1:
-====== ThinkGeo.MapSuite.MvcEdition.EntityModelBinder ====== 
- 
-===== Inheritance Hierarchy ===== 
-  *System.Object 
-    ***ThinkGeo.MapSuite.MvcEdition.EntityModelBinder** 
-      *[[ThinkGeo.MapSuite.MvcEdition.MapEntityModelBinder]] 
-===== Members Summary ===== 
-==== Public Constructors ==== 
-** {{wiki:​PublicMethod.gif|}} EntityModelBinder() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
-== Parameters == 
-<div newline></​div>​ 
-==== Protected Constructors ==== 
-==== Public Methods ==== 
-** {{wiki:​PublicMethod.gif|}} BindModel(ControllerContext,​ModelBindingContext) ** 
- 
-  * //Binds the model to a value by using the specified controller context and binding context.// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Object 
-  * Description:​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. 
- 
-== Parameters == 
-  * //​controllerContext//​ 
-    * Type:​ControllerContext 
-    * Description:​The controller context, holds information about the current HTTP request and about the associated controller. 
- 
-  * //​bindingContext//​ 
-    * Type:​ModelBindingContext 
-    * Description:​The binding context, holds information about the model itself and its metadata. 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} ToString() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:String 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} Equals(Object) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:​Boolean 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //obj// 
-    * Type:Object 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetHashCode() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Int32 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​PublicMethod.gif|}} GetType() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Type 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Protected Methods ==== 
-** {{wiki:​ProtectedMethod.gif|}} BindModelCore(ControllerContext,​ModelBindingContext) ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Object 
-  * Description:​N/​A 
- 
-== Parameters == 
-  * //​controllerContext//​ 
-    * Type:​ControllerContext 
-    * Description:​N/​A 
- 
-  * //​bindingContext//​ 
-    * Type:​ModelBindingContext 
-    * Description:​N/​A 
- 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} Finalize() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Void 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** 
- 
-  * //N/A// 
-== Remarks == 
-  * //N/A// 
- 
-== Return Value == 
-  * Type:Object 
-  * Description:​N/​A 
- 
-== Parameters == 
-<div newline></​div>​ 
-==== Public Properties ==== 
-==== Protected Properties ==== 
-==== Public Events ==== 
  
thinkgeo.mapsuite.mvcedition.entitymodelbinder.1442910845.txt.gz · Last modified: 2015/09/22 08:34 by admin