public BaseController() { IEntityTool iEntityTool = ToolFactory.CreateIEntityTool(); if (System.Web.HttpContext.Current.Request.QueryString.Count != 0) { var queryStringBinder = iEntityTool.CreateINVCollectionBinder(System.Web.HttpContext.Current.Request.QueryString); queryStringBinder.Bind <BaseController>(this); } if (System.Web.HttpContext.Current.Request.Form.Count != 0) { var formBinder = iEntityTool.CreateINVCollectionBinder(System.Web.HttpContext.Current.Request.Form); formBinder.Bind <BaseController>(this); } }