Поделиться через


Key Element Binding Support 

The .NET Framework does not provide binding support for the <key> element.

When generating source code from an XML Schema document, Xsd.exe ignores the <key> element.

Explanation

The XML Schema definition language mechanisms for establishing uniqueness and referential integrity do not have bindings to class definitions in the .NET Framework. When generating source code from an XML Schema document, Xsd.exe ignores the related elements.

Possible Attributes Binding Support

id

Since the .NET Framework does not bind the <key> element, it does not bind the element's attributes.

name

Since the .NET Framework does not bind the <key> element, it does not bind the element's attributes.

See the Name Attribute Binding Support attribute.

Possible parent elements: <element>

Possible child elements: <annotation>, <field>, <selector>

See Also

Reference

XmlSchemaKey