DataModel class

Office 2013 and later

Defines the DataModel Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is x15:dataModel.

Namespace:  DocumentFormat.OpenXml.Office2013.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.4.62 dataModel

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

A CT_DataModel element that specifies properties of spreadsheet data model.<39>

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

<xsd:element name="dataModel" type="CT_DataModel"/>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.132 CT_DataModel

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2010/11/main

Referenced by: dataModel

Specifies properties of a spreadsheet data model.<108>

Child Elements:

modelTables: A CT_ModelTables (section 2.6.129) element that specifies tables in the spreadsheet data model.

modelRelationships: A CT_ModelRelationships (section 2.6.131) element that specifies active relationships in the spreadsheet data model.

extLst: A CT_ExtensionList ([ISO/IEC-29500-4] section A.2) element that specifies future extensibility for this element.

Attributes:

minVersionLoad: An unsignedByte [TYPE HERE: Needs normative reference] attribute that specifies [TYPE HERE]

<<REVIEW>>The minimum version of Excel required to load the model in this workbook.<<REVIEW>>

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

<xsd:complexType name="CT_DataModel">

<xsd:sequence>

<xsd:element name="modelTables" minOccurs="0" maxOccurs="1" type="CT_ModelTables"/>

<xsd:element name="modelRelationships" minOccurs="0" maxOccurs="1" type="CT_ModelRelationships"/>

<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="minVersionLoad" type="xsd:unsignedByte" use="optional" default="5"/>

</xsd:complexType>

See section 5.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: