Remove Old comments

Remove unnecessary Disposes
This commit is contained in:
Rich
2012-06-01 17:08:16 +00:00
parent af5f3056d9
commit 869663b79c
71 changed files with 105 additions and 1482 deletions

View File

@@ -266,22 +266,6 @@ namespace VEPROMS.CSLA.Library
_DTS = tmp.DTS;
_UserID = tmp.UserID;
_AssociationInfoExtension.Refresh(this);
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyDocVersion != null)
// {
// _MyDocVersion.Dispose();// Dispose related value
// _MyDocVersion = null;// Reset related value
// }
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyROFst != null)
// {
// _MyROFst.Dispose();// Dispose related value
// _MyROFst = null;// Reset related value
// }
OnChange();// raise an event
}
public static void Refresh(DocVersionAssociation tmp)
@@ -305,22 +289,6 @@ namespace VEPROMS.CSLA.Library
_DTS = tmp.DTS;
_UserID = tmp.UserID;
_AssociationInfoExtension.Refresh(this);
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyDocVersion != null)
// {
// _MyDocVersion.Dispose();// Dispose related value
// _MyDocVersion = null;// Reset related value
// }
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyROFst != null)
// {
// _MyROFst.Dispose();// Dispose related value
// _MyROFst = null;// Reset related value
// }
OnChange();// raise an event
}
public static void Refresh(ROFstAssociation tmp)
@@ -344,22 +312,6 @@ namespace VEPROMS.CSLA.Library
_DTS = tmp.DTS;
_UserID = tmp.UserID;
_AssociationInfoExtension.Refresh(this);
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyDocVersion != null)
// {
// _MyDocVersion.Dispose();// Dispose related value
// _MyDocVersion = null;// Reset related value
// }
//RHM Removed 20090724 - Duplicates function of code above.
// - Dispose caused error when a new step was added.
// - Resequence of transitions did not work properly.
// if(_MyROFst != null)
// {
// _MyROFst.Dispose();// Dispose related value
// _MyROFst = null;// Reset related value
// }
OnChange();// raise an event
}
public static AssociationInfo Get(int associationID)