2.1.3.34 Model

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

A complex type that specifies a Model. Models refer to Entities. This complex type contains the LobSystems element (section 2.1.3.26) that specifies the LobSystems containing the Entities the Model refers to.

Child Elements:

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

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

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

LobSystems: An LobSystems element (section 2.1.3.26) that specifies the LobSystems that contain the Entities to which the Model refers.

Attributes:

Name: A NameString attribute (section 2.1.4.9) that specifies the name of the Model.

DefaultDisplayName: A NameString attribute that specifies the default display name of the Model.

IsCached: An xs:boolean attribute that specifies whether the Model is used frequently. This MAY<35> be used as a recommendation as to whether to cache the Model. This attribute MUST be set to one of the values listed in the following table.

Value

Description

False

The Model is infrequently used.

True

The Model is frequently used.

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

 <xs:complexType name="Model">
   <xs:complexContent>
     <xs:extension base="bdc:IndividuallySecurableMetadataObject">
       <xs:sequence>
         <xs:element name="LobSystems" type="bdc:LobSystems" minOccurs="0" maxOccurs="1">
           <xs:unique name="LobSystemNameKey">
             <xs:selector xpath="*"/>
             <xs:field xpath="@Name"/>
           </xs:unique>
         </xs:element>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

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