Export (0) Print
Expand All

2.1.1.1 TDirectQueryMode

The TDirectQueryMode simple type is an enumeration that indicates the kind of query that will be conducted in DirectQuery mode. Data stores can opt to cache database information. In that case, the client can query the cache or the backing store, depending on user instructions.

The TDirectQueryMode simple type is defined in the schema as follows.

 <xs:simpleType name="TDirectQueryMode">
  <xs:restriction base="xs:string">
   <xs:enumeration value="InMemory" />
   <xs:enumeration value="InMemoryWithDirectQuery" />
   <xs:enumeration value="DirectQueryWithInMemory" />
   <xs:enumeration value="DirectQuery" />
  </xs:restriction>
 </xs:simpleType>

The possible values for the TDirectQueryMode simple type are specified in the following table.

Value

Meaning

InMemory

Indicates that queries against the model will be conducted against the cache.

InMemoryWithDirectQuery

Indicates that queries against the model are conducted against the cache by default.

DirectQueryWithInMemory

Indicates that queries against the model primarily reference the relational data source but can use the cache, if the cache is available.

DirectQuery

Indicates that queries against the model reference only the relational data source.

Show:
© 2014 Microsoft