This article will discuss the usage of a mapping model to direct code generation into files other than default ones.
本篇文章将讨论映射模型的使用方法,控制代码自动产生到除默认文件之外的其它文件。
These are heavyweight, adapter-driven solutions that take months to years to roll out in any meaningful fashion, and often require a lot of code for mapping protocols and data formats along the way.
它们是重量级的、适配器驱动的解决方案,通常需要数月才能建成具有一定价值的规模,而且协议映射和数据格式往往还需要许多编码。
Fourth, the process implementation was done with less than 20 lines of code which were written for a special mapping capability.
第四,在整个流程的实现中,我们只写了不到20行代码,用以实现一项较特殊的映射功能。
A character code is the representation in numeric form of a particular character mapping from numeric to a particular character.
字符代码是特殊字符的一种数值形式,将数值映射为一个特殊字符。
Before you begin writing the mapping code for items in your repository, you need a solid understanding of what an item is to II CE.
在编写存储库的映射代码之前,需要充分理解II CE中的条目是什么。
A new File Resource design element called ObfuscationList.txt will contain the mapping of legible code names to the short cryptic names.
称为ObfuscationList.txt的新FileResource设计元素将包含清楚易读的代码名称到简短含义模糊的名称的映射。
Programmatically mapping the generated SOAPElement to the XSD: group data type is a brittle solution and goes against the practice of minimizing direct modification of generated code.
以编程方式将生成的SOAPElement映射到xsd:group数据类型是一种脆弱的解决方案,并违反了尽可能避免直接修改所生成的代码的实践。
The next beta release is expected to support the use of a mapping file to control various aspects of code generation.
下一beta测试发行版预计将支持使用映射文件来控制代码生成的各个方面。
Essentially, Soundex algorithms function by mapping each letter of a given alphabet to a numerical code representing its phonetic group.
从实际上说,soundex算法的运作方式是把某个字母表中的每个字母映射成代表它的语音组的一个数字代码。
Active Record doesn't require a mapping file, as Hibernate does; in fact, a developer working with Active Record doesn't need to code getters or setters, or even the properties of the class.
与Hibernate一样,ActiveRecord不需要映射文件;实际上,使用Active Record的开发人员不需要对getter或setter、甚至类的属性进行编码。
While this may seem initially pointless, it is a step in the process of mapping out as many things as possible in our black back of legacy code.
尽管这一开始看起来似乎漫无目的,但这是将我们的遗留代码黑幕中的秘密尽可能地展现出来的过程的一个步骤。
In Listing 12, you should see some similar code, yet this code has logic for mapping a list of test cases.
在清单12中,您将看到一些非常类似的代码,不过这些代码的逻辑是用来映射一个测试用例列表的。
Also, after reading this article, you should be able to model partial and generic types, and use a mapping model to design the file system view of the source code.
在阅读了本篇文章后,您应该学会建立分部及通用类型的模型,和使用映射模型来设计源代码的文件系统概览。
Third, the model to model authoring has also been much improved, with a lot of new capability available directly from the mapping tool, which means you have to revert to code less often.
第三,模型到模型创作也得到了很大改善,大量有用的新功能可以直接从映射工具中获得,这意味着您不需要转换成代码。
To re-direct the code generation of the individual definitions into a different file, use a mapping model (as described in a later section).
为了在不同文档中重新指导个人定义的代码生成,可使用映射模型(详述见以下章节)。
The DWARF line table contains the mapping between the source lines (for the executable parts of a program) and the memory containing the code corresponding to the source.
DWARF行表包含源行(属于程序的可执行部分)与内存(包含与源代码对应的代码)之间的映射关系。
The URL is a little different, and the mapping back to the normalized data structure is a little different (see Download for all of the source code).
只是URL有点不一样,并且映射回常规化的数据结构的映射也有点不一样(所有源代码,参见下载)。
This mapping model can be specified in a UML-to-C# transformation configuration so that the transformation retains the existing organization of code elements among files.
这个映射模型能够在UML-to-C#转换构型中被指定,这个转换保留着现有的文件中的代码元素的构成。
So, one need only add a few lines of code to an application and create a simple mapping file for each persistent class, and NHibernate takes care of all database operations.
好了,我们只需要在程序中添加几行代码,和为每一个映射文件创建持久化类,而且NHibernate可以照顾到所有的数据库操作。
Before long, quite a lot of boiler-plate code is devoted to mapping the application domain model into Lucene data structures and getting it back out again.
在之前很长一段时间,相当多的样板式代码热衷于把领域模型映射到Lucene数据模型上去。
Unicode Transformation Formats (UTFs) are CESs that support the use of Unicode by mapping a value in a multi-byte code.
Unicode转换格式(Unicode Transformation Formats,UTFs)是一种通过映射多字节编码中的值来支持Unicode的字符编码方案。
The encodings.properties file is used to create a mapping of the language code to the encoding mnemonic
properties文件的用处是创建从语言代码到编码单元的映射
A code page is a mapping of Numbers to specific characters as defined by a set of characters (repertoire) intended for use in a particular locale or locales.
代码页是数字到特定字符的映射,这些字符通过一个字符集(repertoire)来定义,旨在可将这些字符用于某个特定语境或多个语境。
MVC frameworks typically map URLs to server code in a different way. Instead of mapping URLs to template files on disk, they instead map URLs directly to classes.
MVC框架使用另一种不同的方式将URL路径直接映射到服务器端的代码,也就是将URL直接映射到类而不是映射到物理文件。
This results in mapping code that has a common appearance for both directions of mapping.
如此导致双向上映射具有共同外貌的映射代码。
If the top of the code plane stack is not provided with a character mapping table, then a default character mapping table calls a corresponding character from a character shape library.
若码平面管理堆栈的顶端没有字符码映射表,则使用默认字符码映射表从字符图形库调用对应的字符。
Gets a dictionary that contains the mapping of data contract namespaces to the CLR namespaces that must be used to generate code during an import operation.
取得字典,这个字典包含了资料合约命名空间和必须在汇入作业期间用来产生程序码之CLR命名空间的对应。
If two or more lines contain the same code, and you set a breakpoint on one of those duplicate lines, the breakpoint mapping algorithm might select the wrong duplicate in the client-side file.
如果有两行以上包含相同的程序码,而且您已在其中一个重复行上设定了中断点,则中断点对应演算法可能会在用户端档案中选取到错误的重复行。
If two or more lines contain the same code, and you set a breakpoint on one of those duplicate lines, the breakpoint mapping algorithm might select the wrong duplicate in the client-side file.
如果有两行以上包含相同的程序码,而且您已在其中一个重复行上设定了中断点,则中断点对应演算法可能会在用户端档案中选取到错误的重复行。
应用推荐