annotate data/sample.xml @ 8:5fe2e5724331

sync
author cin
date Wed, 07 Mar 2018 15:54:22 +0300
parents 1f4009d4afb6
children d3542662cf70
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
cin
parents:
diff changeset
1 <?xml version="1.0"?>
cin
parents:
diff changeset
2 <package xmlns="http://implab.org/schemas/data-model.v1.xsd"
cin
parents:
diff changeset
3 xmlns:f="http://implab.org/schemas/data-model/geo.v1.xsd" xmlns:clr="http://implab.org/schemas/data-model/dotnet.v1.xsd"
cin
parents:
diff changeset
4 xmlns:sql="http://implab.org/schemas/data-model/sql.v1.xsd" xmlns:esri="http://geopallada.ru/schemas/data-model/esri.v1.xsd"
cin
parents:
diff changeset
5 name="users" version="1.0" clr:namespace="Sample.Model">
cin
parents:
diff changeset
6
cin
parents:
diff changeset
7 <import href="types.xml"/>
cin
parents:
diff changeset
8
cin
parents:
diff changeset
9 <entity name="Gallery">
cin
parents:
diff changeset
10 <primaryKey name="Id" type="uuid"/>
6
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
11 <hasMany name="ItemLinks" type="GallertItemLink">
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
12 <otherKey name="Item"/>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
13 <clr:association/>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
14 </hasMany>
5
cin
parents:
diff changeset
15 </entity>
cin
parents:
diff changeset
16
cin
parents:
diff changeset
17 <entity name="GalleryItemLink">
6
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
18 <primaryKey name="Id">
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
19 <member name="Item"/>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
20 <member name="Gallery"/>
5
cin
parents:
diff changeset
21 </primaryKey>
6
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
22 <hasA name="Item" type="Item">
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
23 <thisKey name="ItemId" />
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
24 <clr:association />
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
25 <clr:lazy />
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
26 </hasA>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
27 <hasA name="Gallery" type="Gallery">
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
28 <thisKey name="GalleryId" />
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
29 <clr:association />
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
30 <clr:lazy/>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
31 </hasA>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
32 </entity>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
33
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
34 <entity name="Item">
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
35 <primaryKey name="Id" type="uuid"/>
1f4009d4afb6 working on model to csharp transform
cin
parents: 5
diff changeset
36 <property name="href" type="text"/>
5
cin
parents:
diff changeset
37 </entity>
cin
parents:
diff changeset
38 </package>