因为类型化表包含其他对象引用的对象,所以每个类型化表都必须像它的第一列那样拥有一个对象标识符。
Because typed tables contain objects that can be referenced by other objects, every typed table must have an object identifier column as its first column.
结构化数据类型可以用作普通表中某一列的类型(清单1和清单2),也可以用作整个表(或视图)的类型,或者用作另一个结构化类型的属性(清单3)。
A structured data type can be used as the type for a column in a regular table (Listings 1 and 2), the type for an entire table (or view), or as an attribute of another structured type (Listing 3).
接下来根(反)序列化器将在类型映射注册表中查询下一个要调用的常规(反)序列化器。
The root (DE) serializer in turn will query the type mapping registry for the next normal (DE) serializer to be called.
为了从表中检索结构化类型数据,必须有一些将类型转换成一个标量值,换句话说,这些值的类型必须基于某种内置的DB2 数据类型。
To retrieve structured type data from a table, there must be some way to convert that type into a single scalar value whose type, in turn, must be based on one of the built-in DB2 data types.
您可以用同样方式使用结构化类型列创建表,也可以只使用DB 2内置数据类型创建一个表。
You can create a table with structured type columns in the same way that you would create a table using only DB2 built-in data types.
设计器同时也产生一个填充查询,它封装了查询相关表的Select语句并且在类型化数据集中以同名方法实现。
The designer also generates a Fill query, which wraps the table's SELECT statement and is implemented as a method of the same name on the typed DataSet.
当用作表的类型时,该表就被认为是一个类型化表(清单3)。
When used as the type for a table, the table is known as a typed table (Listing 3).
反过来,REFERENCE是一个系统类型,它是任何类型化表的对象标识符的数据类型。
REFERENCE, in turn, is a system type that is the data type of the object identifier column of any typed table.
该修饰符在将数据(起初是从一个常规或非类型化表导入的)导入到层次结构中的单个子表时十分有用。
A working example of how to export data from a regular table, and then import it into a single subtable in a hierarchy is beyond the scope of this article.
类型化表是一个使用用户定义的结构化类型定义的表。
A typed table is a table that is defined with a user-defined structured type.
图2显示了一个类型化数据集的关系图视图,它表示Orders数据表、OrderDetails数据表以及这两个表之间的关系。
Figure 2 shows the diagram view of a typed DataSet that represents an Orders DataTable, an OrderDetails DataTable, and the relationship that links the two tables.
一个类型化数据集,该数据集封装您在数据库中所连接到的数据表。
A typed dataset that encapsulates the data tables that you connected to in the database.
一个类型化数据集,该数据集封装您在数据库中所连接到的数据表。
A typed dataset that encapsulates the data tables that you connected to in the database.
应用推荐