From: <mcu...@us...> - 2007-10-15 05:27:52
|
Revision: 1145 http://orm.svn.sourceforge.net/orm/?rev=1145&view=rev Author: mcurland Date: 2007-10-14 22:27:49 -0700 (Sun, 14 Oct 2007) Log Message: ----------- Changed a section that was improperly casting a Role and thus preventing the generation of a spanning uniqueness on a relationship played by an objectified fact type with a spanning uniqueness. refs #327. Modified Paths: -------------- trunk/Oial/ORMOialBridge/OialModelIsForORMModel.cs Modified: trunk/Oial/ORMOialBridge/OialModelIsForORMModel.cs =================================================================== --- trunk/Oial/ORMOialBridge/OialModelIsForORMModel.cs 2007-09-20 20:57:41 UTC (rev 1144) +++ trunk/Oial/ORMOialBridge/OialModelIsForORMModel.cs 2007-10-15 05:27:49 UTC (rev 1145) @@ -1185,7 +1185,7 @@ { continue; } - Role oppositeRole = (Role)role.OppositeRoleAlwaysResolveProxy; + Role oppositeRole = role.OppositeRoleAlwaysResolveProxy.Role; // Recursivly call this for each of objectType's preferred identifier object types. foreach (ConstraintRoleSequence constraintRoleSequence in oppositeRole.ConstraintRoleSequenceCollection) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |