在另一种情况下,它可以以php类对象的形式返回结果,其中数据库表的列名作为对象的属性。
In another case, it can return the results as a PHP class object, where the database column names are the object properties.
映射到关系表和属性的类作为列实现。
Classes map to relational tables and attributes are implemented as columns.
换句话说,表映射到类,对象映射到行,而对象属性映射到列。
That is, tables map to classes, objects map to rows, and object properties map to columns.
您会注意到,TB_RIGHT表拥有保存right类层次结构的每个属性所需要的所有列。
You'll notice that the TB_RIGHT table possesses all the columns necessary to store every attribute of the Right class hierarchy.
将类的每个属性作为这个表的一列。
Any property of a class is treated as a column of this table.
类的每个简单属性对应表的一列。
Each simple property of a class maps to a column of a table.
当然,我是通过一个类hash表结构实现循环的,因此不能保证每个属性及其值都可以输出。
Of course, I'm iterating over a hash-like structure, so there is no guarantee of the order in which the properties and their values will be printed.
对列(column)或者表(table)重命名,而不对属性或类重命名。
Renaming a column or table without renaming its property or class.
这需要我添加一个只包括tenuredprofessor类的新属性的新表。
This required me to add a new table that included only the new attributes of the TenuredProfessor class.
jsp示例中的JSF表的最后一个 <h:column>组件使用footerClass属性为显示订单总额的页脚单元格指定两个类。
The last <h:column> component of the JSF table from the TableStyles.jsp example uses the footerClass attribute to specify two classes for the footer cell that show the order's total.
名称属性在customer类映射到的表上定义外键,参考列定义Table CustomerOrder映射到的主键。
The name attribute defines the foreign key on the table to which the Customer class is mapped, and the referenced column defines the primary key to which the table CustomerOrder is mapped.
缺点是每次在类层次结构的任何地方添加一个新属性时都必须将一个新属性添加到表中。
The disadvantages are that every time a new attribute is added anywhere in the class hierarchy a new attribute must be added to the table.
每个类表示数据库中的一个表,它是使用一个映射为数据库列的类级属性定义的。
Each one represents a table in the database, defined with class-level attributes that map to database columns.
按类表:(可选)每个具体的子类映射到一个表,并且包含超类属性的列。
Table per-class: (Optional) Each concrete subclass is mapped to a table and contains columns for super class attributes.
使用这种方法,为每个类创建一张表,它的属性是OID和特定于该类的属性。
With this approach you create one table per class, the attributes of which are the OID and the attributes that are specific to that class.
清单7显示了如何指定抽象类的id属性查询抽象类Person,清单8显示了Hibernate自动生成的SQL查询,其中包括表连接?
Listing 7 shows how to query an abstract Person given its id property, while Listing 8 shows the SQL query automatically generated by Hibernate, including the table junctions.
ActiveRecord将类和表关联起来,并按照数据库中的每一列给每个类动态地添加一个属性。
Active Record associates a class with a table and dynamically adds an attribute to each class for every column in the database.
在清单6中,我将展示如何创建一个表结构,其中每一列表示Log类的一个相应属性。
In Listing 6, I'll show you how to create a table structure in which each column represents a corresponding attribute of the Log class.
表1:具有关联类型的Flight类的属性名字。
Table 1: the Flight class's attribute names with their associated types.
关联umlattribute2Column把一个类的简单类型属性映射到表的一列。
The UmlAttribute2Column relation maps simple-typed attributes of a class to columns of a table.
表必需与属性定义匹配,例如,等式表的主数据库键必须也是 Persistent类的主键。
The table must match the definition of your attributes; for example, the primary database key for the equations table must be the primary key of the Persistent class as well.
这代表了属性声明Listshelves;在表1中的Library类中。
This represents the attribute declaration List shelves; in the Library class of Listing 1.
如 图6 所示,GeneratepureQuery CodeforaTable向导的第一页包含一些用于描述一个表示Employee表的bean类的属性。
The first page of the Generate pureQuery Code for a Table wizard, shown in Figure 6, consists of attributes that are meant to describe a bean class representing the Employee table.
<many-to-many>标签中的column属性用来指定连接表与目标类的映射表链接的外键。
The <many-to-many> tag's column attribute specifies the foreign key column in the link table that relates the link table to the mapping table for the target class.
因此如果你在多个具体的类中,继承了抽象类的话,那么这个抽象类的属性将会是每一个具体的类(表)的属性的一部分。
So, if you inherit the abstract class in multiple concrete classes, then the properties of the abstract class will be part of each table of the concrete class.
该方法根据关系表的决定属性值划分记录集,并在每个决定属性值类中检测相似重复记录。
The proposed method partitions record set according to decided attribute values, and then detects approximately duplicate records in each class of decided attribute value.
通过用“属性”窗口定义消息和事件处理函数,可以自动更新消息调度表(或消息映射)和类的头文件。
By using the Properties window to define message - and event-handling functions, you can automatically update the message-dispatch table (or message map) and your class header file.
表二列出了非功能性测试的不同类型,并举出了属性的例子,同时简述了每一类的测试流程。
Table (2) lists different categories of Non-functional Testing along with examples of attributes and brief test procedures for each one of them.
当在派生类中重写时,返回由表达式编辑器表属性值组成的表达式字符串。
When overridden in a derived class, returns the expression string that is formed by the expression editor sheet property values.
当在派生类中重写时,返回由表达式编辑器表属性值组成的表达式字符串。
When overridden in a derived class, returns the expression string that is formed by the expression editor sheet property values.
应用推荐