|
From: <mcu...@us...> - 2013-11-26 06:26:34
|
Revision: 1532
http://sourceforge.net/p/orm/code/1532
Author: mcurland
Date: 2013-11-26 06:26:31 +0000 (Tue, 26 Nov 2013)
Log Message:
-----------
Incorrect conditional order from [1519] adds an unparented link fact type for a newly added role in an explicitly or implicitly objectified fact type. The link fact type does not serialize, but references to it do, so the file will not reload.
Modified Paths:
--------------
trunk/ORMModel/ObjectModel/Objectification.cs
Modified: trunk/ORMModel/ObjectModel/Objectification.cs
===================================================================
--- trunk/ORMModel/ObjectModel/Objectification.cs 2013-11-06 01:48:28 UTC (rev 1531)
+++ trunk/ORMModel/ObjectModel/Objectification.cs 2013-11-26 06:26:31 UTC (rev 1532)
@@ -702,7 +702,7 @@
{
IHasAlternateOwner<ObjectType> toAlternateOwner;
IAlternateElementOwner<FactType> alternateFactTypeOwner = (null != (toAlternateOwner = nestingType as IHasAlternateOwner<ObjectType>)) ? toAlternateOwner.AlternateOwner as IAlternateElementOwner<FactType> : null;
- CreateImpliedFactTypeForRole(alternateFactTypeOwner == null ? null : nestingType.Model, alternateFactTypeOwner, nestingType, nestedRole, objectificationLink, unaryRole != null);
+ CreateImpliedFactTypeForRole(alternateFactTypeOwner == null ? nestingType.Model : null, alternateFactTypeOwner, nestingType, nestedRole, objectificationLink, unaryRole != null);
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|