Still, let's jump to the full client code first.
同样,让我们首先直接跳到完整的客户代码。
The code first checks to see if there are any instances.
以上代码首先检查是否存在实例。
This code first opens a file, then locks it using file_lock.
代码首先打开一个文件,然后使用file_lock锁定它。
The code first gets the current reply or reverse routing path.
该代码首先获取当前应答或者反向路由路径。
This code first creates a new InitialContext using the default constructor.
上面的代码首先使用缺省的构造器创建一个新InitialContext。
The code first reads in the data, then prints both the body and data headers.
代码首先读入数据,然后输出主体和数据表头。
The code first adds the role if it doesn't yet exist, then adds the user to the role.
首先,如果这个角色不存在的话,代码会自动将其添加,然后将用户添加到此角色。
I'll start in with the server code first, because the client code will be more complex.
我先从服务器代码开始,因为客户机代码更复杂。
On the results page, the code first checks if there is any link with the text HttpUnit Home.
在结果页面上,代码首先检查是否有一个链接的文本是HttpUnit Home。
By writing the code first, you embed your preconceptions of how the code will work, then test it.
通过先编写代码,您在代码中嵌入了有关代码如何工作的想法,然后测试这些代码。
The following sample code first opens the Problems view, then checks whether the Problems view contains an entry.
接下来的范例代码首先打开了问题视图,然后检查问题视图是否包含有一个条目。
To ensure that the script can't be used to access any table in the database, the code first checks the table name requested.
为确保这个脚本不能用于访问数据库中的任何表,代码首先检查被请求的表名。
The code first instantiates a new history stack object and loads any existing values that may have been saved to the browser's cookies.
这段代码首先实例化一个新的历史堆栈对象,并载入可能已经保存到浏览器cookie中的所有数据。
Stored procedures are similar to parameterized queries in that they require you to define the SQL code first, then pass in the parameters later.
存储过程类似于参数化查询,也要求您首先定义SQL代码,然后再传入参数。
The performance test code first reads the documents to be used in the test into memory, then runs through a sequence of operations on the documents.
性能测试代码首先将测试中使用到的文档读入到内存中,然后对文档进行一系列的操作。
I still want to have a test so I can have the confidence that comes from a full regression suite, but I have to write some code first, then write a test.
我仍然希望进行测试,这样我可以从完整的回归套件中获得信心,但我必须先编写一些代码,然后编写测试。
There is indeed a better solution, but let's just use the code first, which works fine in the WebSphere Test Environment of Application Developer V5.1.2.
的确存在一个更好的解决方案,但是让我们首先使用此代码,它在Application Developer V5.1.2的WebSphereTestEnvironment中工作得非常好。
As you can see from the following comments section, the code first develops five samples of tones to compare together to form a basis for computing deviation.
您可以从随后的注释部分中看到,代码首先将开发五种样例音调并一起比较以形成计算偏差的依据。
Since this framework supports the code first approach, with the help of a few lines of code, you can get a client and a service up and running without much effort.
由于此框架支持代码优先的方法,因此只需少许代码,您就可以轻而易举地让客户端和服务正常运行。
In Listing 2, the code first includes the necessary class file for the MDB2_Schema package, and then initializes the MDB2 abstraction layer by calling its static factory method.
在清单2中,代码首先包含了MDB2_Schema包所需的类文件,然后通过调用其静态方法factory以初始化mdb2抽象层。
EF 4.1 added support for the DbContext API and Code First functionality.
EF 4.1添加了DbContextAPI和代码先行功能的支持。
The code First programming model is a way of creating a model by writing the code for the classes whose associated entities are contained by the model.
Code First编程模型通过编写类代码来创建模型,与该类关联的实体则包含在模型当中。
The Code First approach to application development means that the object model is created in code, and then the database structure is generated from that model.
应用程序开发领域中的代码先行(Code First)方法指的是先在代码中创建对象模型,然后按照模型生成数据库结构。
Part 1 starts simply, explaining the basic concepts behind web services and showing you how to develop web service with Axis2 using Different Approach (Code First and Contract First).
第1部分从简单的内容开始,先解释了Web服务背后的基本概念,并展示了如何使用Axis2运用不同的方法(代码优先和契约优先)来开发Web服务。
In an article about a database technology, it makes sense to start with the database code. First, let's define a simple table schema to store our contacts in.
对于一篇有关数据库技术的文章,应当首先从数据库代码开始讨论。
Two things are worth mentioning when considering this code: First, the instantiation of an anonymous inner callback class requires a great amount of boilerplate code.
上面的代码有两点值得我们注意:首先,匿名内部回调类的实例化需要大量的样板代码。
To better understand the solution, let's see an example using pseudo-code, first with conventional approaches, followed by the centralized solution.
为了更好地理解这个解决方案,让我们考察一个使用伪代码的例子,该例子首先使用传统方法,然后使用集中的解决方案。
With Galileo, we’re delivering our 0.9.0 release that also includes some tools to facilitate creating services in a code-first or WSDL-first approach.
我们在Galileo 中交付 0.9.0 发行版,其中包括一些工具,以方便用代码优先或 WSDL 优先的方法创建服务。
This is one of the first (to my knowledge) examples of a code-first Silverlight 1.1 application.
就我所知,这是第一批Code -First的Silverlight 1.1应用示例之一。
This is one of the first (to my knowledge) examples of a code-first Silverlight 1.1 application.
就我所知,这是第一批Code -First的Silverlight 1.1应用示例之一。
应用推荐