2.3.4.2.70 PrimaryKey_Type

Target namespace: http://schemas.microsoft.com/office/visio/2011/1/core

Referenced by: DataRecordSet_Type

A complex type that specifies a component of the primary key of a recordset.

Child Elements:

RowKeyValue: A RowKeyValue_Type element that specifies the value of this component of the primary key for an individual row of a recordset. There MUST be at least one occurrence of this child element.

Attributes:

ColumnNameID: An xsd:string ([XMLSCHEMA2] section 3.2.1) attribute that specifies the name of a field that is a component of the primary key. It MUST be the value of the ColumnNameID attribute of a DataColumn_Type descendant element of the DataRecordSet_Type whose primary key is being specified.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="PrimaryKey_Type">
   <xsd:sequence>
     <xsd:element name="RowKeyValue" type="RowKeyValue_Type" minOccurs="0" maxOccurs="unbounded"/>
   </xsd:sequence>
   <xsd:attribute name="ColumnNameID" type="xsd:string" use="required"/>
 </xsd:complexType>