This question is locked. New answers and comments are not allowed.
hi ;
i have 3 class library with these names : 1-DC , 2-FrameWork , 3-PCI
and i need to generate 2 one to many relation between three classes of these classlibraries by forward mapping but i have a problem;
my classes are :
DC::DCDocument
FrameWork::WFTemplateNode
PCI::PCISourceObservation
this UML Model is what i need :
DC::DCDocument ---------> FrameWork::WFTemplateNode <-------- PCI::PCISourceObservation
and for this purpose i created two collection fields Like Below :
public class DCDocument
{
private IList<WFTemplateNode> FTemplateNodes;
}
public class PCI::PCISourceObservation
{
private IList<WFTemplateNode> FPhaseAdmins;
}
and i`m sure that i mapped correctly these filed.
for mapping these collection i only unchcked the "join table" and checked the "cascade delete" option from forward mapping wizard
i mapped all collection filed which i used so far , with this approach that i mentioned above line and does not have any problem.
but in this case , after i built the solution, last classlibrary which have been built , covered and override the previous class library mapping that have been built early, and only generate one foreign key field in WFTemplateNode Table ,
foreign key from DCDocument OR foreign key from PCISourceObservation
thats urgent
help me please
i have 3 class library with these names : 1-DC , 2-FrameWork , 3-PCI
and i need to generate 2 one to many relation between three classes of these classlibraries by forward mapping but i have a problem;
my classes are :
DC::DCDocument
FrameWork::WFTemplateNode
PCI::PCISourceObservation
this UML Model is what i need :
DC::DCDocument ---------> FrameWork::WFTemplateNode <-------- PCI::PCISourceObservation
and for this purpose i created two collection fields Like Below :
public class DCDocument
{
private IList<WFTemplateNode> FTemplateNodes;
}
public class PCI::PCISourceObservation
{
private IList<WFTemplateNode> FPhaseAdmins;
}
and i`m sure that i mapped correctly these filed.
for mapping these collection i only unchcked the "join table" and checked the "cascade delete" option from forward mapping wizard
i mapped all collection filed which i used so far , with this approach that i mentioned above line and does not have any problem.
but in this case , after i built the solution, last classlibrary which have been built , covered and override the previous class library mapping that have been built early, and only generate one foreign key field in WFTemplateNode Table ,
foreign key from DCDocument OR foreign key from PCISourceObservation
thats urgent
help me please