This is not true of virtual properties, though, and this is easy to discover when using virtual properties for password form input.
不过对于虚拟属性来说却并非如此,在使用虚拟属性作为密码窗体输入时,很容易发现这一点。
One caveat is that virtual properties (properties defined as attributes in the model but not actually stored in the database) can have different HTML rendering than regular model properties.
有一点需要注意:虚拟属性(在模型中作为属性定义,但却不真正保存在数据库中的属性)的html渲染方式可能与普通的模型属性不同。
One caveat is that virtual properties (properties defined as attributes in the model but not actually stored in the database) can have different HTML rendering than regular model properties.
有一点需要注意:虚拟属性(在模型中作为属性定义,但却不真正保存在数据库中的属性)的html渲染方式可能与普通的模型属性不同。
应用推荐