Fix for Insert New Step
This commit is contained in:
@@ -246,16 +246,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AssociationInfoExtension.Refresh(this);
|
||||
if(_MyDocVersion != null)
|
||||
{
|
||||
_MyDocVersion.Dispose();// Dispose related value
|
||||
_MyDocVersion = null;// Reset related value
|
||||
}
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = 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(_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)
|
||||
@@ -279,16 +285,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AssociationInfoExtension.Refresh(this);
|
||||
if(_MyDocVersion != null)
|
||||
{
|
||||
_MyDocVersion.Dispose();// Dispose related value
|
||||
_MyDocVersion = null;// Reset related value
|
||||
}
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = 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(_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)
|
||||
@@ -312,16 +324,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AssociationInfoExtension.Refresh(this);
|
||||
if(_MyDocVersion != null)
|
||||
{
|
||||
_MyDocVersion.Dispose();// Dispose related value
|
||||
_MyDocVersion = null;// Reset related value
|
||||
}
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = 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(_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)
|
||||
|
Reference in New Issue
Block a user