namespace Tutorial { class Inventory [id({FE438523-E2A1-48e6-A0C6-3A88B67A8FFF})] { object Manager; ArticleList Items; }; class Responsible [id({525372A2-EEBE-40A5-90D5-C7BC63FDC8D2})] { wstring FullName; wstring Comment; }; class ShopArticle [id({AD643CA4-995D-42b5-9E31-A8482DD7B484})] { wstring ArticleName; uint16 Count; }; list ArticleList [id({FA28CAE4-B97B-4783-85D2-1F746FA900E9}), ck] { object Article; }; }
namespace
class
Inventory
object
ArticleList
Responsible
wstring
ShopArticle
uint16
list
Open-Connection Extend-Schema -DomainGuid "{E9F56A1D-4FD9-483E-A4FE-7522666AB7C6}" -BDTD "-yourPath-\_data\DataDefinitionEx.bdtd" Close-Connection exit
#import <DataDefinition.bdtd> #import <DataDefinitionEx.bdtd> object WSupplies { Tutorial::Supplies { Description [get, set, remove]; LastUpdated [get, set]; Shops [get, set, remove]; } }; object WInventory { Tutorial::Supplies { Description [get, set, remove]; LastUpdated [get, set]; Shops [get, set, remove]; } Tutorial::Inventory { Manager [link(WResponsible), open(WResponsible)]; Items [get, set, remove]; } }; object WResponsible { Tutorial::Responsible { FullName [get, set]; Comment [get, set]; } }; object WShopArticle { Tutorial::ShopArticle { ArticleName [get, set, remove]; Count [get, set]; } }; list ArticleList Tutorial::ArticleList { Article [link(WShopArticle)]; };
#import
<DataDefinition.bdtd>
<DataDefinitionEx.bdtd>
WSupplies
Supplies
WInventory
WResponsible
WShopArticle