Applying Data Annotations to sub properties of the View Model in MVC?
应用数据注释子在MVC中的视图模型属性?
The default providers use data Annotations, a validation and metadata approach introduced in Preview 1.
默认的提供者使用了数据标记,这是在Preview1中引入的验证和元数据表现方式。
This class contains properties for the username and password, and USES the data annotations to specify that both are required.
这个类含有用户名和口令的属性,并且使用数据注解来指定两者都是必须的。
Preview 2 builds on the features of Preview 1, adding client-side validation, streamlined support of Areas, and abstractions of data Annotations validation and metadata providers.
Preview2在之前的基础上增加了客户端验证,精简的Are a支持,以及抽象的数据标记(Data Annotations)验证和元数据提供者等功能。
So if you wish not to use external mapping file then annotations can be used for your data binding needs.
因此,如果您不想使用外部映射文件,那么可以使用注释来满足您的数据绑定需求。
In addition to untangling element signatures, annotations can be used to express any data associated with your code's crosscutting concerns.
除了排除元素签名的纠结外,还可以使用注释来表达与代码的横切关注相关的任何数据。
Full annotations have multiple data members.
完整注释有多个数据成员。
Annotations allow a developer to program data that would otherwise be furnished in a related file, such as a separate deployment descriptor.
注解允许开发人员编写将由相关文件提供的数据,例如单独的部署描述符。
If the application USES a DAO (data access object) with dynamic SQLs and stored procedures, the value object that is passed to DAO can be declared as a cloud resource using annotations.
如果应用程序使用DAO(数据访问对象)来产生动态sql和存储过程,那么传递给DAO的值对象就可以使用注释声明为一种云资源。
These annotations contain the necessary information needed to map the data that needs to be shredded to the relational tables.
这些注释包含对需要分解到关系表的数据进行映射所需的信息。
Data analysts should ensure that consistent and standard annotations are created for results.
数据分析师应该确保为结果创建一致且标准的注释。
The above example has simple, one-to-one mappings between data elements in the two vocabularies, and annotations that you can readily compare in a casual reading.
在上面的例子中,两个词汇表的数据元素之间存在简单的一对一映射,即使不经意地阅读这些注释,也很容易对它们作出比较。
We will get to the annotations on this class shortly, but let me first explain the data access.
随后我们将注释这个类,但首先我们讲解一下数据访问。
So far, all I've talked about in Listing 1 are the JAX-RS annotations that set up the routing and data serialization for the service.
到这里,我只阐述了清单1中创建服务寻址和数据序列化的代码所用到的JAX- RS注释。
It's straightforward to use XSLT to generate schema indices and data dictionaries by extracting schema definitions and annotations.
很容易使用XSLT抽取模式定义和注释,以生成模式索引和数据词典。
It's up to the JAXB implementation to access the annotation information from the data model classes and apply these annotations when converting to and from XML.
由JAXB实现负责从数据模型类访问注释信息并在执行xml转换时应用这些注释。
The retention policy, which is an important part of implementing Annotations, is based on how long the data needs to be kept in memory. There are three different types of retention policy
保持策略(retention policy)是实现注解的重要一环,根据数据在内存中保持时间的长短,有三种类型的保持策略
After you add annotations to any elements and attributes that require data in your conformance messages, you can export hints from the File menu.
在您将注释添加到您的一致性消息中需要数据的任何元素和属性中以后,您可以从File菜单导出提示。
If you have any thoughts on schemata, schema annotations, data typing, or related topics, please share them by Posting on the Thinking XML discussion forum.
如果您对模式、模式注释、数据类型化或者相关主题有什么想法,请提交到ThinkingXML讨论论坛和我们分享。
Using a modified version of the GD: : Pie.pm module, we will build custom charts, then use the acquired data points to create indicators and text annotations.
使用GD:Pie . pm模块的修订版本,我们将构建自定义图,然后使用采集到的数据点来创建指示符和文本注释。
In contrast to the servlet model, JAX-RS annotations let you focus on your resources and data objects.
与servlet模型相比,JAX - RS注释让您能集中于您的资源和数据对象。
Examples include descriptions in data dictionaries, annotations, or ontologies.
例子包括用数据字典、注释或本体论(ontology)来描述。
For an example of a case where a configuration file works better than annotations, I'll turn to the JiBX data binding framework -- my own pet classworking project.
作为配置文件比注释工作得好的示例,我将转用 JiBX数据绑定框架 —— 这是我自己喜欢的类处理框架。
The additions to the backing bean to accommodate the data selection are primarily annotations; the class must be serializable when it is placed into the conversation scope.
向提供数据选择的支持bean添加的内容主要是注释;放到conversation作用域时,必须将该类序列化。
Seam also USES Hibernate annotations for data validation, so you must include that extension jar in addition to the main Hibernate jar.
Seam还使用Hibernate注释用于数据验证,所以除了主hibernatejar之外,还必须包括那个扩展jar。
Complete annotations of data source models.
完成数据源模型的注释。
The NIEM-generated annotations of referenced elements (the definitions) are clearly visible under each data element.
NIEM 为引用的元素生成的注解(定义)出现在每个数据元素下面。
The annotations define the type of EJB, container-managed fields, finder queries, data types, and all the other information typically found in the deployment descriptors of an EJB.
标注定义了EJB的类型、容器管理的字段、发现器查询、数据类型和其他在EJB部署描述中通常会出现的信息。
Using annotations (also called attributes) you can even associate meta data to classes and some of their contents (operations, fields).
使用注解(也称为特性),你甚至可以关联元数据与类和类的其他内容(操作、字段)。
Using annotations (also called attributes) you can even associate meta data to classes and some of their contents (operations, fields).
使用注解(也称为特性),你甚至可以关联元数据与类和类的其他内容(操作、字段)。
应用推荐