Fix for Insert New Step
This commit is contained in:
@@ -277,11 +277,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ROImageInfoExtension.Refresh(this);
|
||||
if(_MyRODb != null)
|
||||
{
|
||||
_MyRODb.Dispose();// Dispose related value
|
||||
_MyRODb = 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(_MyRODb != null)
|
||||
// {
|
||||
// _MyRODb.Dispose();// Dispose related value
|
||||
// _MyRODb = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(RODbROImage tmp)
|
||||
@@ -300,11 +303,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ROImageInfoExtension.Refresh(this);
|
||||
if(_MyRODb != null)
|
||||
{
|
||||
_MyRODb.Dispose();// Dispose related value
|
||||
_MyRODb = 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(_MyRODb != null)
|
||||
// {
|
||||
// _MyRODb.Dispose();// Dispose related value
|
||||
// _MyRODb = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static ROImageInfo Get(int imageID)
|
||||
|
Reference in New Issue
Block a user