assign property to another 把财产转让给别人
The default model binder also cannot assign a null value to a property that does not accept nulls. In particular, the model binder cannot assign a null value to the UnitsInStock property.
默认的模型绑定器同样不能指定一个null值到一个不允许为null的属性中,这里的情况是模型绑定其不能指定一个null值到UnitsInStock属性中。
The only difference here is that we receive the passed-in value from the property broker action and assign it to the field to which it corresponds.
这个脚本的惟一不同在于,我们接收了由属性代理操作传入的值并将它分配给它所对应的字段。
You need to assign this property the name of a class to instantiate.
需要为该属性分配要实例化的类的名称。
应用推荐