Mercurial > pub > ModelGenerator
comparison data/csmodel.xml @ 0:cbdada054b4a
Basic schemas for generating csharp internal dom from model definition
author | cin |
---|---|
date | Wed, 21 Feb 2018 03:01:53 +0300 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cbdada054b4a |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <code xmlns="http://implab.org/schemas/code-dom/csharp.v1.xsd"> | |
3 <namespace name="Pallada.PoiskMore.Model"> | |
4 <using name="System"/> | |
5 <using name="Linq2Db"/> | |
6 <using name="Data"/> | |
7 | |
8 <class name="SarRcc" modifiers="public partial"> | |
9 <extends name="AbstractEntity"/> | |
10 <implements name="INotifyPropertyChange"/> | |
11 | |
12 <property name="Id" type="Guid" modifiers="public"> | |
13 <attribute/> | |
14 </property> | |
15 | |
16 <property name="Name" type="string" modifiers="public" binding="true"> | |
17 <attribute type="Column" params='"rccname", NotNull=true'/> | |
18 <get/> | |
19 <set/> | |
20 </property> | |
21 | |
22 <property name="Master" type="SarRcc" nullable="false"> | |
23 <generateAssociation/> | |
24 </property> | |
25 </class> | |
26 </namespace> | |
27 </code> |