This commit is contained in:
2008-08-12 11:22:57 +00:00
parent 0c505e9455
commit f42f176ae9
3 changed files with 129 additions and 83 deletions

View File

@@ -84,7 +84,7 @@ namespace VEPROMS.CSLA.Library
set
{
CanWriteProperty("MyPrevious", true);
if (_MyPrevious != value)
if ((_MyPrevious == null ? _PreviousID : (int?)_MyPrevious.ItemID) != (value == null ? null : (int?)value.ItemID))
{
_MyPrevious = value;
_PreviousID = (value == null ? null : (int?)value.ItemID);