Mercurial > pub > ModelGenerator
view 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 |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <code xmlns="http://implab.org/schemas/code-dom/csharp.v1.xsd"> <namespace name="Pallada.PoiskMore.Model"> <using name="System"/> <using name="Linq2Db"/> <using name="Data"/> <class name="SarRcc" modifiers="public partial"> <extends name="AbstractEntity"/> <implements name="INotifyPropertyChange"/> <property name="Id" type="Guid" modifiers="public"> <attribute/> </property> <property name="Name" type="string" modifiers="public" binding="true"> <attribute type="Column" params='"rccname", NotNull=true'/> <get/> <set/> </property> <property name="Master" type="SarRcc" nullable="false"> <generateAssociation/> </property> </class> </namespace> </code>