0
http://msdn.microsoft.com/en-us/library/dd492957.aspx中的excludeProperties
参数是否排除模型中的属性或来自Request?TryUpdateModel的excludeProperties参数的含义是什么?
E.g.
如果我要排除Model.SomeProperty.SomeChildProperty
其中有“Model.SomeProperty.SomeChildProperty”的名称属性,我应该通过
["SomeProperty"]
(对模型的属性的名称)
或
["Model.SomeProperty.SomeChildProperty"]
(字段的名称在请求表格中)
要从udpate中排除它吗?
在这种情况下''SomeProperty“'因为那是模型上属性的名称? – StuperUser 2011-05-19 18:50:27