Mercurial > pub > ModelGenerator
diff data/model.xml @ 1:7f803979305f
improved cs-dom generation, added getMember, getKeyMember templates
author | cin |
---|---|
date | Thu, 22 Feb 2018 19:14:00 +0300 |
parents | cbdada054b4a |
children | 035de8b7b18e |
line wrap: on
line diff
--- a/data/model.xml Wed Feb 21 03:01:53 2018 +0300 +++ b/data/model.xml Thu Feb 22 19:14:00 2018 +0300 @@ -33,7 +33,7 @@ <description>Район проведения операции, в котором будет работать данная единица. </description> - <thisKey name="RegionId" matches="Id" /> + <thisKey name="RegionId"/> </hasA> <hasA name="Operation" type="Operation" optional="true"> <description>Идентификатор операции, используется для фильтрации @@ -79,8 +79,8 @@ </property> <hasMany name="Regions" type="Region"> <description>Список районов поиска</description> - <otherKey name="OperationId" /> - <clr:association> + <otherKey name="Operation" /> + <clr:association otherKey="OperationId"> <!-- explicit otherKey for code generation --> <clr:type ref="listOf"> <clr:type ref="Region" /> </clr:type>