/
OData.Community.Keys.V1.xml
28 lines (23 loc) · 1.49 KB
/
OData.Community.Keys.V1.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OData.Community.Keys.V1" Alias="Keys">
<Term AppliesTo="EntityType EntitySet NavigationProperty" Type="Collection(Keys.AlternateKey)" Name="AlternateKeys">
<Annotation Term="Core.Description" String="Communicates available alternate keys"/>
</Term>
<ComplexType Name="AlternateKey">
<Property Type="Collection(Keys.PropertyRef)" Name="Key">
<Annotation Term="Core.Description" String="The set of properties that make up this key"/>
</Property>
</ComplexType>
<ComplexType Name="PropertyRef">
<Property Type="Edm.PropertyPath" Name="Name">
<Annotation Term="Core.Description" String="A path expression resolving to a primitive property of the entity type itself or to a primitive property of a complex property (recursively) of the entity type. The names of the properties in the path are joined together by forward slashes."/>
</Property>
<Property Type="Edm.String" Name="Alias">
<Annotation Term="Core.Description" String="A SimpleIdentifier that MUST be unique within the set of aliases, structural and navigation properties of the containing entity type that MUST be used in the key predicate of URLs"/>
</Property>
</ComplexType>
</Schema>
</edmx:DataServices>
</edmx:Edmx>