Mercurial > pub > bltoolkit
view HowTo/Data/RelationExtension.xml @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +0300 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8" ?> <Types xmlns = "urn:schemas-bltoolkit-net:typeext" xmlns:m = "urn:schemas-bltoolkit-net:mapping"> <Type Name="HowTo.Data.ComplexMapping+ParentEx"> <Member Name="ID" MapField="ParentID" PrimaryKey="1"/> <Member Name="Children"> <Relation DestinationType = "HowTo.Data.ComplexMapping+ChildEx, HowTo"> </Relation> </Member> </Type> <Type Name="HowTo.Data.ComplexMapping+ChildEx"> <Member Name ="ID" MapField="ChildID"/> <Member Name ="Parent"> <Relation></Relation> </Member> <m:MapField OrigName="Parent.ID" MapName="ParentID"/> <Member Name ="Grandchildren"> <Relation DestinationType="HowTo.Data.ComplexMapping+GrandchildEx"> <SlaveIndex Name="ChildID"/> <MasterIndex Name="ChildID"/> </Relation> </Member> </Type> <Type Name="HowTo.Data.ComplexMapping+GrandchildEx"> <Member Name="ID" MapField="GrandchildId" PrimaryKey="1"/> <m:MapField OrigName="Child.ID" MapName="ChildID"/> <Member Name="Child"> <Relation> <SlaveIndex Name="ChildID"/> <MasterIndex Name="ChildID"/> </Relation> </Member> </Type> </Types>