最佳实践是发布所有数据模型属性。
The best practice is to publish all the data model properties.
编辑模型属性(命名空间,别名等)
这也可以在模型属性视图中看到(图13)。
This is also visualized in the model Properties view (Figure 13).
注意,这里指定的模型属性名称。
知道Web表单输入和域模型属性之间的联系。
Know the link between a web form input and a domain model property.
会话属性名称不一定匹配模型属性名称。
The session attribute names may or may not match the model attribute names;
该命令将暴露在你的视图模型属性以及。
The Command will be exposed as a Property in your ViewModel as well.
我如何获得自动模型的视图模型属性绑定?
How do I get automatic model binding of this view model property?
数据模型属性中的每个元素都需要指定给它的数据类型。
Each element in our data model properties needs a data type assigned to it.
在本文中,我们把这些属性称为数据模型属性。
应用数据注释子在MVC中的视图模型属性?
Applying Data Annotations to sub properties of the View Model in MVC?
获取或设置一个值,该值指示是否需要模型属性。
Gets or sets a value that indicates whether a model property is required.
操作:同属性一样是典型的选项,并且应当使用数据模型属性中的操作。
Actions. As with properties, this option is the typical case, and the actions in the data model properties should be used.
典型的组件属性选项,并且应当使用数据模型属性中的那些属性。
Properties. This option is the typical case for component properties, and those in the data model properties should be used.
声明在类级别,适用于这个注释的处理器类可以操作的模型属性。
Declared at the type level, applying to the model attributes that the annotated handler class operates on.
这种类型的所有模型属性都将存储在会话中,无论属性名称是什么。
All model attributes of this type will be stored in the session, regardless of attribute name.
更新了上载功能和列出文档的视图,允许显式地选择要显示的模型属性(列)。
The upload functionality and the view listing the documents was updated to explicitly select the model attributes (columns) to be displayed.
ActiveScaffold允许开发人员完全控制模型属性的实际显示方式。
ActiveScaffold allows the developer full control of how a model property is actually displayed.
它是一种图形建模工具,用于提供对向图表添加维度和值的流程模型属性的即时访问。
It is a graphical modeling tool that is organized to provide instant access to process model attributes that add dimension and value to the diagram.
任何名字中包含“password”的普通模型属性在HTML都会渲染为一个密码输入。
Any normal model properties that contain "password" in their name will render in HTML as a password input.
注意:这个注释表明使用会话中的session就像使用一个特定的模型属性。
NOTE: session attributes as indicated using this annotation correspond to a specific handlers model attributes, getting transparently stored in a conversational session.
设置模型属性为等同model,并构造结果属性为 layout,如列表6 所示。
Set the model attribute to equal model and the structure attribute to layout, as shown in Listing 6.
为了提高性能,您可能希望抽取每个模型属性的代码放到它自己的方法中(或者带有“开关”的单个方法)。
To improve performance, you may wish to factor out the code for each model attribute into its own method (or a single method with a "switch").
操作:通常,公开数据模型属性中的所有操作是个好主意;但是,实现与不显示的键相关的操作可能没有必要。
Actions. In general, it is a good idea to expose all the actions in the data model properties; however, it might not be necessary to implement actions relating to keys that are not displayed.
根据type属性的值的不同,标记文件执行不同的JSP代码片段,并设置与HTML元素同名的模型属性。
Depending on the value of the type attribute, the tag file executes different JSP fragments, which set the model property with the same name as the HTML element.
然而,这个客户机没有模型属性也没有版本属性,因此将代码转换技术要使用的设备概要文件命名为Alcatel即可。
However, this client does not have a model or version property, so the Device Profile that Transcoding Technology will use is simply named Alcatel.
作为一个过程模型属性,这种公开性是一个关键因素,因为它导致无缝集成,当通讯改变过程或过程改进发生时,无缝集成是一个重要优势。
As a process model attribute, this openness is a critical factor because it allows seamless integration, which is a great advantage when communicating change processes and process improvement.
有一点需要注意:虚拟属性(在模型中作为属性定义,但却不真正保存在数据库中的属性)的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.
在LeadManagercore数据库(lm_core_8 . nsf)中,我们选择company、contact、categories和body字段作为数据模型属性。
In the Lead Manager core database (lm_core_8.nsf) we select the company, contact, categories, and body fields as our data model properties.
对模型的暴露性和可恢复性等动态属性进行量化分析。
Several dynamic attributes of the proposed model were analyzed, such as exposedness and resilience.
应用推荐