Mercurial > pub > ModelGenerator
comparison data/sample.xml @ 6:1f4009d4afb6
working on model to csharp transform
author | cin |
---|---|
date | Mon, 05 Mar 2018 10:37:47 +0300 |
parents | 6f67d3a6b950 |
children | d3542662cf70 |
comparison
equal
deleted
inserted
replaced
5:6f67d3a6b950 | 6:1f4009d4afb6 |
---|---|
6 | 6 |
7 <import href="types.xml"/> | 7 <import href="types.xml"/> |
8 | 8 |
9 <entity name="Gallery"> | 9 <entity name="Gallery"> |
10 <primaryKey name="Id" type="uuid"/> | 10 <primaryKey name="Id" type="uuid"/> |
11 | 11 <hasMany name="ItemLinks" type="GallertItemLink"> |
12 <otherKey name="Item"/> | |
13 <clr:association/> | |
14 </hasMany> | |
12 </entity> | 15 </entity> |
13 | 16 |
14 <entity name="GalleryItemLink"> | 17 <entity name="GalleryItemLink"> |
15 <primaryKey> | 18 <primaryKey name="Id"> |
19 <member name="Item"/> | |
20 <member name="Gallery"/> | |
16 </primaryKey> | 21 </primaryKey> |
17 <hasA /> | 22 <hasA name="Item" type="Item"> |
23 <thisKey name="ItemId" /> | |
24 <clr:association /> | |
25 <clr:lazy /> | |
26 </hasA> | |
27 <hasA name="Gallery" type="Gallery"> | |
28 <thisKey name="GalleryId" /> | |
29 <clr:association /> | |
30 <clr:lazy/> | |
31 </hasA> | |
32 </entity> | |
33 | |
34 <entity name="Item"> | |
35 <primaryKey name="Id" type="uuid"/> | |
36 <property name="href" type="text"/> | |
18 </entity> | 37 </entity> |
19 </package> | 38 </package> |