2.1.4.10 OperationModeType

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

Referenced by: Entity

A simple type specifying how a consumer of the structure interacts with a line-of-business (LOB) system when utilizing an implementation-specific cache of EntityInstances, when creating, deleting, updating or reading EntityInstance data in an implementation-specific manner. The value MUST be listed in the following table.

Value

Meaning

Online

Bypass the cached EntityInstances for all operations and interact with the LOB system directly.

Cached

Perform create, read, update and delete operations directly against the cached EntityInstances. For read operations, if the requested EntityInstances are available in the cache, use the EntityInstances in the cache. Otherwise, bypass the cache to obtain the EntityInstance data from the LOB system, and put it into the cache for later use.

Offline

Perform create, read, update and delete operations only against the cached EntityInstances.

Default

Make an implementation-specific choice to use any one of the other behaviors listed in this table based on capabilities of the consumer of this structure.

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

 <xs:simpleType name="OperationModeType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Online"/>
     <xs:enumeration value="Cached"/>
     <xs:enumeration value="Offline"/>
     <xs:enumeration value="Default"/>
   </xs:restriction>
 </xs:simpleType>

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