The most interesting part of this code is how we find a location to keep the database files.
上述代码最有趣的部分是我们如何找到一个位置来放置数据库文件。
This type of code execution is punishing to a database.
这类代码执行对于数据库来说是个负累。
The only exception to this is the code in the migration to create a database table, but that can also be done in straight SQL in the database.
其中唯一的例外是迁移中用于创建数据库表的代码,但事实上这也可以通过数据库中的简单SQL完成。
This code is logged in a database, along with the product's serial number or bar code.
此代码连同产品序列号或条形码被记录在数据库中。
This code is all one needs to write in order to have an entity model created for him, including all underlying plumbing needed to store the model in a database.
要想创建实体模型,上面这些代码足矣,它包含了将模型存储到数据库中所需的一切底层信息。
If the table doesn't exist, it invokes the database initialization code, ResourcesDatabaseInitializer, which in this example is a utility class that initializes the database.
如果该表不存在,则它调用数据库初始化代码ResourcesDatabaseInitializer,该代码在此示例中是初始化数据库的实用程序类。
This is not recommended for mixed-code page XML documents in a non-Unicode database.
对于非 Unicode数据库中使用混合代码页的XML文档,不建议这么做。
In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.
在本例中,我们将遵循activeRecord模式并用能够执行所有数据库操作的类封装数据库行。
By using the given session and database and the Notes.jar APIs, this code is executed in a totally encapsulated way.
通过使用给定的会话和数据库以及Notes. jarAPI,这段代码以完全封闭的方式运行。
For your lock Report, you will display a list of the current active sessions on the database server and the number of locks associated with each session. Here is the code to do this.
您将为LockReport显示数据库服务器上当前活动会话的列表,以及与每个会话相关的锁的数量。
This is often a large process which involves lots of technique content including database object migration, data migration, code migration, system testing, etc.
这一过程通常十分庞大,它牵涉到数据库方案对象移植,数据移植,代码移植,系统测试等很多方面的技术问题。
To simplify this code example, the database is represented by a dictionary list that contains a small set of items.
为了简化这个程序码范例,资料库是用包含小型项目组合的字典清单来表示。
To simplify this code example, the database is represented by a dictionary list that contains a small set of items.
为了简化这个程序码范例,资料库是用包含小型项目组合的字典清单来表示。
应用推荐