Does excludeProperties parameter in http://msdn.microsoft.com/en-us/library/dd492957.aspx exclude properties from the model or the values from the Request?
E.g.
If I wish to exclude Model.SomeProperty.SomeChildProperty which has a name attribute of “Model.SomeProperty.SomeChildProperty”, should I pass
["SomeProperty"](name of the property on the model)
or
["Model.SomeProperty.SomeChildProperty"](name of the field in the Request form)
To exclude it from the udpate?
The
DefaultModelBinderwill look atPropertyDescriptor.Namewhen filtering properties during model binding. You should use the model property name.