Mercurial > pub > ModelGenerator
diff data/sample.xml @ 9:d3542662cf70
working on members preprocessing
author | cin |
---|---|
date | Sun, 11 Mar 2018 10:27:32 +0300 |
parents | 1f4009d4afb6 |
children | 19a8a71eaa54 |
line wrap: on
line diff
--- a/data/sample.xml Wed Mar 07 15:54:22 2018 +0300 +++ b/data/sample.xml Sun Mar 11 10:27:32 2018 +0300 @@ -7,7 +7,15 @@ <import href="types.xml"/> <entity name="Gallery"> - <primaryKey name="Id" type="uuid"/> + <primaryKey name="GalleryPk"> + <member name="Id" type="Gallery"/> + </primaryKey> + + <property name="Id" type="uuid" special="true"> + <hiddenBy name="GalleryPk" type="Gallery"/> + <clr:autoGenrated/> + </property> + <hasMany name="ItemLinks" type="GallertItemLink"> <otherKey name="Item"/> <clr:association/>