From: <mcu...@us...> - 2007-09-10 23:07:35
|
Revision: 1121 http://orm.svn.sourceforge.net/orm/?rev=1121&view=rev Author: mcurland Date: 2007-09-10 16:07:39 -0700 (Mon, 10 Sep 2007) Log Message: ----------- Changed implied independence to not apply to value types. refs #327 Modified Paths: -------------- trunk/ORMModel/ObjectModel/ObjectType.cs Modified: trunk/ORMModel/ObjectModel/ObjectType.cs =================================================================== --- trunk/ORMModel/ObjectModel/ObjectType.cs 2007-09-10 23:06:05 UTC (rev 1120) +++ trunk/ORMModel/ObjectModel/ObjectType.cs 2007-09-10 23:07:39 UTC (rev 1121) @@ -1576,7 +1576,7 @@ { get { - return this.IsIndependent || (this.ImpliedMandatoryConstraint == null && this.AllowIsIndependent(false)); + return this.IsIndependent || (!this.IsValueType && this.ImpliedMandatoryConstraint == null && this.AllowIsIndependent(false)); } } /// <summary> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |