2.2.3.11 Entity

Target namespace: http://schemas.microsoft.com/windows/2007/BusinessDataCatalog/Resources

Referenced by: Entities

A complex type that identifies an Entity.

Child Elements:

LocalizedDisplayNames: A LocalizedDisplayNames element (section 2.2.3.22) that specifies the localized names of the Model.

Properties: A Properties element (section 2.2.3.31) that specifies the Properties of the Model.

AccessControlList: An AccessControlList element (section 2.2.3.2) that specifies the access control list (ACL) of the Model.

Identifiers: An Identifiers element (section 2.2.3.15) that specifies the Identifiers of the Entity.

Methods: A Methods element (section 2.2.3.27) that specifies the Methods of the Entity.

AssociationGroups: An AssociationGroups element (section 2.2.3.9) that specifies the AssociationGroups of the Entity.

Actions: An Actions element (section 2.2.3.6) that specifies the Actions of the Entity.

Attributes:

Namespace: A NameString attribute (section 2.2.4.2) that specifies the namespace of the Entity.

Version: A VersionString attribute (section 2.2.4.4) that specifies the version number of the Entity.

Name: A NameString attribute (section 2.2.4.2) that specifies the name of the MetadataObject.

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

 <xs:complexType name="Entity">
   <xs:complexContent>
     <xs:extension base="bdc:IndividuallySecurableMetadataObject">
       <xs:sequence>
         <xs:element name="Identifiers" type="bdc:Identifiers" minOccurs="0">
           <xs:unique name="IdentifierNameKey">
             <xs:selector xpath="*"/>
             <xs:field xpath="@Name"/>
           </xs:unique>
         </xs:element>
         <xs:element name="Methods" type="bdc:Methods" minOccurs="0">
           <xs:unique name="MethodNameKey">
             <xs:selector xpath="*"/>
             <xs:field xpath="@Name"/>
           </xs:unique>
         </xs:element>
         <xs:element name="AssociationGroups" type="bdc:AssociationGroups" minOccurs="0">
           <xs:unique name="AssociationGroupNameKey">
             <xs:selector xpath="*"/>
             <xs:field xpath="@Name"/>
           </xs:unique>
         </xs:element>
         <xs:element name="Actions" type="bdc:Actions" minOccurs="0">
           <xs:unique name="ActionNameKey">
             <xs:selector xpath="*"/>
             <xs:field xpath="@Name"/>
           </xs:unique>
         </xs:element>
       </xs:sequence>
       <xs:attribute name="Namespace" type="bdc:NameString" use="required"/>
       <xs:attribute name="Version" type="bdc:VersionString" use="required"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).