0
|
1 <?xml version="1.0" encoding="utf-8" ?>
|
|
2 <Types
|
|
3 xmlns = "urn:schemas-bltoolkit-net:typeext"
|
|
4 xmlns:m = "urn:schemas-bltoolkit-net:mapping">
|
|
5
|
|
6 <Type Name="HowTo.Data.ComplexMapping+ParentEx">
|
|
7 <Member Name="ID" MapField="ParentID" PrimaryKey="1"/>
|
|
8 <Member Name="Children">
|
|
9 <Relation DestinationType = "HowTo.Data.ComplexMapping+ChildEx, HowTo">
|
|
10 </Relation>
|
|
11 </Member>
|
|
12 </Type>
|
|
13
|
|
14 <Type Name="HowTo.Data.ComplexMapping+ChildEx">
|
|
15 <Member Name ="ID" MapField="ChildID"/>
|
|
16 <Member Name ="Parent">
|
|
17 <Relation></Relation>
|
|
18 </Member>
|
|
19 <m:MapField OrigName="Parent.ID" MapName="ParentID"/>
|
|
20 <Member Name ="Grandchildren">
|
|
21 <Relation DestinationType="HowTo.Data.ComplexMapping+GrandchildEx">
|
|
22 <SlaveIndex Name="ChildID"/>
|
|
23 <MasterIndex Name="ChildID"/>
|
|
24 </Relation>
|
|
25 </Member>
|
|
26 </Type>
|
|
27
|
|
28 <Type Name="HowTo.Data.ComplexMapping+GrandchildEx">
|
|
29 <Member Name="ID" MapField="GrandchildId" PrimaryKey="1"/>
|
|
30 <m:MapField OrigName="Child.ID" MapName="ChildID"/>
|
|
31 <Member Name="Child">
|
|
32 <Relation>
|
|
33 <SlaveIndex Name="ChildID"/>
|
|
34 <MasterIndex Name="ChildID"/>
|
|
35 </Relation>
|
|
36 </Member>
|
|
37 </Type>
|
|
38
|
|
39 </Types>
|