Your database class has a couple of convenience methods.
您的数据库类有两个较为方便的方法。
Next, write a conventional database class that you will then modify to become dynamic.
接下来,编写一个常规的数据库类,然后再把它修改成动态的。
We made our database a singleton in order to limit the database class to only one instance.
我们将数据库当作一个单实例对象,以将database类限制为1个实例。
The majority of the data access methods are available through the abstract Database class.
大多数的数据访问方法是有效的,在抽象的数据库类中。
This article presents an alternative method in which you use a single database class to wrap multiple database tables.
本文提出一个替代方法:使用单个数据库类包转多个数据库表。
However, for the purpose of this example we used a simple DataBase class and populated it with answers given by members of the survey group.
不过,为了配合这个例子,我们使用简单的database类,并使用调查组成员给出的答案填充它。
The main purpose of the Database class is to encapsulate this string, as well as any username/password information that might be needed to make a connection.
Database类的主要目的就是封装这个字符串,还有建立连接操作时可能需要的任何用户名/密码信息。
We put Jennifer's and Ivan's answers in the all-answer repository in a similar manner. Then, we use three methods in the DataBase class to retrieve the data.
我们以类似的方式将Jennifer和Ivan的答案储存到所有答案储存库中。
This code is almost identical to the database version, with some changed file and class names.
这段代码几乎与数据库版本完全相同,只是修改了文件名和类名。
In another case, it can return the results as a PHP class object, where the database column names are the object properties.
在另一种情况下,它可以以php类对象的形式返回结果,其中数据库表的列名作为对象的属性。
Listing 2 shows the code for the database wrapper class.
清单2显示了这个数据库封装类的代码。
How does this entity class tie in with a database?
这个实体类如何与数据库联系起来?
A health indicator measures the health of some particular class of database objects.
健康指示器可以测定某些特定数据库对象类的状态。
Using filters, you can drill down into a workload based on a particular database to examine the service class for the workload.
通过使用筛选器,可以向下钻取到某一数据库上的工作负载,了解工作负载的服务类。
For example, don't use the customer name in database schema or class names.
例如,不要在数据库模式或类名称中使用客户名称。
We also added a class mapping database.
我们还增加了一个类映射数据库。
Listing 2 shows a simple database access class for the book table.
清单2显示了图书表的简单的数据库访问类。
And there you have it: a single dynamic database access class that can bend itself to fit any table in your database.
现在就得到了单个动态的数据库访问类,它能够让自己适应到数据库中的任何表。
This tells the server which JDBC driver class to use to access the database.
这将告诉服务器要使用哪一类JDBC驱动程序来访问数据库。
In earlier steps, you provided the information required for the ZRM, including data source class name, database location, and access information for the database.
在前面的步骤中,您已经提供了ZRM所需的信息,包括数据资源类名、数据库位置和数据库的访问信息。
You estimate a day to write each database access class and unit test it, so 150 tables at one table per day is 150 days.
估计您每天能编写一个数据库访问类并完成其单元测试,因此,150 个表要用 150天的时间。
They can also perform impact analysis to find out all the use cases that are impacted because of a change to a class or database table.
他们也可以执行影响分析,从而找到所有会受到修改类或者数据库操作影响的用例。
This information is used behind the scenes for all the database access to this class 'table.
该信息隐式用于对该类的表的所有数据库访问中。
XML mapping files describe how a class maps to a particular table in the database, along with any relationships that the class has with other classes.
XML映射文件描述了如何将类映射到数据库中具体的表,并描述了类与其他类的关系。
Table name: the name of the database table represented by the class.
表名称:类代表的数据库表名称。
Class, sequence, and database schema diagrams use visual tools similar to Rational Software Modeler.
类图、序列图和数据库方案图使用类似于Rational Soft ware Modeler的可视化工具。
The script includes the Pear: : DB database access class.
这个脚本包含Pear:DB数据库访问类。
This solution USES the JdbcQuery helper class for all database operations.
这个解决方案对所有数据库操作使用JdbcQuery帮助类。
Cargo might also be a database connection, a complex class instance, or a list with several items in it.
cargo还可能是数据库连接、复杂的类实例或带有几个项的列表。
The Ajax requests are fielded by a PHP driver page, which makes sure that the request is valid and then passes it onto a database wrapper class that handles the request.
Ajax请求受到一个PHP驱动程序页的保护,该页先确保请求有效,然后将其传递到一个处理该请求的数据库包装类。
应用推荐