-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathOrg.OData.Temporal.V1.snapshot-sample.xml
More file actions
76 lines (69 loc) · 3.04 KB
/
Copy pathOrg.OData.Temporal.V1.snapshot-sample.xml
File metadata and controls
76 lines (69 loc) · 3.04 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
<edmx:Include Namespace="Org.OData.Core.V1" Alias="Core" />
</edmx:Reference>
<edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Temporal.V1.xml">
<edmx:Include Alias="Temporal" Namespace="Org.OData.Temporal.V1" />
</edmx:Reference>
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Alias="OrgModel" Namespace="org.example.odata.orgservice">
<EntityType Name="Employee">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false" />
<Property Name="Name" Type="Edm.String" Nullable="false" />
<Property Name="Jobtitle" Type="Edm.String" />
<NavigationProperty Name="Department" Type="OrgModel.Department" />
</EntityType>
<EntityType Name="Department">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Edm.String" Nullable="false" />
<Property Name="Name" Type="Edm.String" Nullable="false" />
<NavigationProperty Name="Employees" Type="Collection(OrgModel.Employee)" />
</EntityType>
<EntityContainer Name="Default">
<EntitySet Name="Employees" EntityType="OrgModel.Employee">
<NavigationPropertyBinding Path="Department" Target="Departments" />
<Annotation Term="Temporal.ApplicationTimeSupport">
<Record>
<PropertyValue Property="UnitOfTime">
<Record Type="Temporal.UnitOfTimeDate" />
</PropertyValue>
<PropertyValue Property="Timeline">
<Record Type="Temporal.TimelineSnapshot" />
</PropertyValue>
<PropertyValue Property="SupportedActions">
<Collection>
<String>Temporal.Update</String>
<String>Temporal.Delete</String>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</EntitySet>
<EntitySet Name="Departments" EntityType="OrgModel.Department">
<NavigationPropertyBinding Path="Employees" Target="Employees" />
<Annotation Term="Temporal.ApplicationTimeSupport">
<Record>
<PropertyValue Property="UnitOfTime">
<Record Type="Temporal.UnitOfTimeDate" />
</PropertyValue>
<PropertyValue Property="Timeline">
<Record Type="Temporal.TimelineSnapshot" />
</PropertyValue>
<PropertyValue Property="SupportedActions">
<Collection>
<String>Temporal.Update</String>
</Collection>
</PropertyValue>
</Record>
</Annotation>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>