Export (0) Print
Expand All

2 Structures

Conceptual schema definition language (CSDL) supports application-specific customization and extension through the use of annotations. These annotations enable applications to embed application-specific and vendor-specific information into CSDL. The CSDL format does not specify how to process these custom-defined structures or how to distinguish structures from multiple vendors or layers. Parsers of CSDL can ignore annotations that are not expected or are not understood.

Annotations can be of two kinds:

  • AnnotationElement, as defined in [MC-CSDL] section 2.1.22.

  • AnnotationAttribute, as defined in [MC-CSDL] section 2.2.7.

Conceptual schema definition language with business intelligence annotations (CSDLBI) is defined by complex types, some of which include simple types and other complex types, with the exception of the SourceDescription element. The SourceDescription element is of basic xs:string type.

The following CSDL elements are annotated by the corresponding CSDLBI complex types, as shown in the table.

CSDL element

CSDLBI complex type

EntityContainer

TEntityContainer

EntitySet

TEntitySet

AssociationSet

TAssociationSet

EntityType

TEntityType

Property

TProperty

NavigationProperty

TNavigationProperty

Other complex types that are defined in the CSDLBI schema are included in the definitions of the complex types that are listed in the preceding table. These complex types are as follows:

One more complex type that is defined in the CSDLBI schema is TMeasure. The TMeasure complex type is used to define the Measure element. The Measure element is introduced in the CSDLBI 1.0 schema.

Some complex types include simple types. The simple types that are defined in the CSDLBI schema are as follows:

The CSDLBI schema defines a total of 19 complex types and 15 simple types. Section 2.1 contains a subsection for each complex type. The simple types that are included in complex types are defined in subsections under the complex type to which they belong.

An example of a CSDL model that is annotated by using these types is provided in Section 3 of this specification.

Show:
© 2014 Microsoft