2.1.1 TEntityContainer

The TEntityContainer complex type annotates the EntityContainer element that is defined in [MC-CSDL] section 2.1.14. The EntityContainer element is conceptually similar to a database or data source. It groups EntitySet and AssociationSet child elements that represent a data source.

The TEntityContainer complex type is defined in the schema as follows.

  <xs:complexType name="TEntityContainer">
    <xs:sequence>
      <xs:element name="CompareOptions" type="bi:TCompareOptions" />
      <xs:element name="ModelCapabilities" type="bi:TModelCapabilities" />
    </xs:sequence>
    <xs:attribute name="Caption" type="xs:string" use="optional" />
    <xs:attribute name="Culture" type="xs:string" />
    <xs:attribute name="DirectQueryMode" type="bi:TDirectQueryMode" />
    <xs:attribute name="PreferOrdinalStringEquality" type="xs:boolean" default="false" />
  </xs:complexType>

The elements and attributes that are defined by the TEntityContainer complex type are specified in the following tables.

Element

Description

CompareOptions

Contains language-specific sorting and string comparison options for the model. The contents of this element are defined by the TCompareOptions complex type (section 2.1.2).

ModelCapabilities

In CSDLBI 2.0 and CSDLBI 2.5, contains elements that describe which new properties and features of the model or Data Analysis Expressions (DAX) are to be taken into account when the client generates DAX queries. The contents of this element are defined by the TModelCapabilities complex type (section 2.1.3).

Attribute

Description

Caption

Describes the database or data model.

Culture

Contains the culture name, as specified in the following table. For more information about language code identifiers (LCIDs), see [MS-LCID].

DirectQueryMode

Determines which mode is used for a query. The contents of this attribute are defined by the TDirectQueryMode simple type (section 2.1.1.1).

PreferOrdinalStringEquality<2>

Directs clients to perform culture-invariant comparisons and ordering on string values that are returned in query results, disregarding the Culture attribute.

The culture name that is contained in the Culture attribute MUST be one of the following:

Language

LCID

Culture name

Neutral

0

en-US

Arabic

1025

ar-SA

Bengali

1093

bn-IN

Brazilian

1046

pt-BR

British English

2057

en-GB

Bulgarian

1026

bg-BG

Catalan

1027

ca-ES

Chinese – Simplified

2052

zh-CN

Chinese – Traditional

1028

zh-TW

Chinese (Hong Kong SAR, PRC)

3076

zh-HK

Chinese (Macau SAR)

5124

zh-MO

Chinese (Singapore)

4100

zh-SG

Croatian

1050

hr-HR

Dutch

1043

nl-NL

English–US

1033

en-US

French

1036

fr-FR

German

1031

de-DE

Gujarati

1095

gu-IN

Hebrew

1037

he-IL

Hindi

1081

hi-IN

Icelandic

1039

is-IS

Indonesian

1057

id-ID

Italian

1040

it-IT

Japanese

1041

ja-JP

Kannada

1099

kn-IN

Korean

1042

ko-KR

Latvian

1062

lv-LV

Lithuanian

1063

lt-LT

Malay – Malaysia

1086

ms-MY

Malayalam

1100

ml-IN

Marathi

1102

mr-IN

Norwegian (Bokmål)

1044

nb-NO

Portuguese

2070

pt-PT

Punjabi

1094

pa-IN

Romanian

1048

ro-RO

Russian

1049

ru-RU

Serbian (Cyrillic)

3098

sr-Cyrl-CS

Serbian (Latin)

2074

sr-Latn-CS

Slovak

1051

sk-SK

Slovenian

1060

sl-SI

Spanish

3082

es-ES

Swedish

1053

sv-SE

Tamil

1097

ta-IN

Telugu

1098

te-IN

Thai

1054

th-TH

Ukrainian

1058

uk-UA

Urdu

1056

ur-PK

Vietnamese

1066

vi-VN