Fix for Insert New Step
This commit is contained in:
parent
00d13a8dbc
commit
921b269a28
@ -268,16 +268,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AnnotationInfoExtension.Refresh(this);
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyAnnotationType != null)
|
||||
{
|
||||
_MyAnnotationType.Dispose();// Dispose related value
|
||||
_MyAnnotationType = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyAnnotationType != null)
|
||||
// {
|
||||
// _MyAnnotationType.Dispose();// Dispose related value
|
||||
// _MyAnnotationType = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(AnnotationTypeAnnotation tmp)
|
||||
@ -303,16 +309,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AnnotationInfoExtension.Refresh(this);
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyAnnotationType != null)
|
||||
{
|
||||
_MyAnnotationType.Dispose();// Dispose related value
|
||||
_MyAnnotationType = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyAnnotationType != null)
|
||||
// {
|
||||
// _MyAnnotationType.Dispose();// Dispose related value
|
||||
// _MyAnnotationType = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ItemAnnotation tmp)
|
||||
@ -338,16 +350,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_AnnotationInfoExtension.Refresh(this);
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyAnnotationType != null)
|
||||
{
|
||||
_MyAnnotationType.Dispose();// Dispose related value
|
||||
_MyAnnotationType = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyAnnotationType != null)
|
||||
// {
|
||||
// _MyAnnotationType.Dispose();// Dispose related value
|
||||
// _MyAnnotationType = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static AnnotationInfo Get(int annotationID)
|
||||
|
@ -286,21 +286,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_AssignmentInfoExtension.Refresh(this);
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = null;// Reset related value
|
||||
}
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = null;// Reset related value
|
||||
}
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(FolderAssignment tmp)
|
||||
@ -332,21 +341,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_AssignmentInfoExtension.Refresh(this);
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = null;// Reset related value
|
||||
}
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = null;// Reset related value
|
||||
}
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(GroupAssignment tmp)
|
||||
@ -378,21 +396,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_AssignmentInfoExtension.Refresh(this);
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = null;// Reset related value
|
||||
}
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = null;// Reset related value
|
||||
}
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(RoleAssignment tmp)
|
||||
@ -424,21 +451,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_AssignmentInfoExtension.Refresh(this);
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = null;// Reset related value
|
||||
}
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = null;// Reset related value
|
||||
}
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static AssignmentInfo Get(int aid)
|
||||
|
@ -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)
|
||||
|
@ -501,22 +501,31 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ContentInfoExtension.Refresh(this);
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = null;// Reset related value
|
||||
}
|
||||
if(_MyEntry != null)
|
||||
{
|
||||
_MyEntry.Dispose();// Dispose related value
|
||||
_MyEntry = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = 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(_MyEntry != null)
|
||||
// {
|
||||
// _MyEntry.Dispose();// Dispose related value
|
||||
// _MyEntry = null;// Reset related value
|
||||
// }
|
||||
_ContentEntryCount = -1;// Reset Count
|
||||
if(_MyZContent != null)
|
||||
{
|
||||
_MyZContent.Dispose();// Dispose related value
|
||||
_MyZContent = 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(_MyZContent != null)
|
||||
// {
|
||||
// _MyZContent.Dispose();// Dispose related value
|
||||
// _MyZContent = null;// Reset related value
|
||||
// }
|
||||
_ContentZContentCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@ -537,22 +546,31 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ContentInfoExtension.Refresh(this);
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = null;// Reset related value
|
||||
}
|
||||
if(_MyEntry != null)
|
||||
{
|
||||
_MyEntry.Dispose();// Dispose related value
|
||||
_MyEntry = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = 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(_MyEntry != null)
|
||||
// {
|
||||
// _MyEntry.Dispose();// Dispose related value
|
||||
// _MyEntry = null;// Reset related value
|
||||
// }
|
||||
_ContentEntryCount = -1;// Reset Count
|
||||
if(_MyZContent != null)
|
||||
{
|
||||
_MyZContent.Dispose();// Dispose related value
|
||||
_MyZContent = 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(_MyZContent != null)
|
||||
// {
|
||||
// _MyZContent.Dispose();// Dispose related value
|
||||
// _MyZContent = null;// Reset related value
|
||||
// }
|
||||
_ContentZContentCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
|
@ -239,11 +239,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DetailInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ContentDetail tmp)
|
||||
@ -262,11 +265,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DetailInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static DetailInfo Get(int detailID)
|
||||
|
@ -349,21 +349,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DocVersionInfoExtension.Refresh(this);
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(FolderDocVersion tmp)
|
||||
@ -397,21 +406,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DocVersionInfoExtension.Refresh(this);
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(FormatDocVersion tmp)
|
||||
@ -445,21 +463,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DocVersionInfoExtension.Refresh(this);
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ItemDocVersion tmp)
|
||||
@ -493,21 +520,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_DocVersionInfoExtension.Refresh(this);
|
||||
if(_MyFolder != null)
|
||||
{
|
||||
_MyFolder.Dispose();// Dispose related value
|
||||
_MyFolder = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyFolder != null)
|
||||
// {
|
||||
// _MyFolder.Dispose();// Dispose related value
|
||||
// _MyFolder = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static DocVersionInfo Get(int versionID)
|
||||
|
@ -219,16 +219,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_EntryInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyDocument != null)
|
||||
{
|
||||
_MyDocument.Dispose();// Dispose related value
|
||||
_MyDocument = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyDocument != null)
|
||||
// {
|
||||
// _MyDocument.Dispose();// Dispose related value
|
||||
// _MyDocument = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(DocumentEntry tmp)
|
||||
@ -244,16 +250,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_EntryInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyDocument != null)
|
||||
{
|
||||
_MyDocument.Dispose();// Dispose related value
|
||||
_MyDocument = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyDocument != null)
|
||||
// {
|
||||
// _MyDocument.Dispose();// Dispose related value
|
||||
// _MyDocument = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static EntryInfo Get(int contentID)
|
||||
|
@ -246,16 +246,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_FigureInfoExtension.Refresh(this);
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = null;// Reset related value
|
||||
}
|
||||
if(_MyROImage != null)
|
||||
{
|
||||
_MyROImage.Dispose();// Dispose related value
|
||||
_MyROImage = 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
|
||||
// }
|
||||
//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(_MyROImage != null)
|
||||
// {
|
||||
// _MyROImage.Dispose();// Dispose related value
|
||||
// _MyROImage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ROFstFigure tmp)
|
||||
@ -279,16 +285,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_FigureInfoExtension.Refresh(this);
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = null;// Reset related value
|
||||
}
|
||||
if(_MyROImage != null)
|
||||
{
|
||||
_MyROImage.Dispose();// Dispose related value
|
||||
_MyROImage = 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
|
||||
// }
|
||||
//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(_MyROImage != null)
|
||||
// {
|
||||
// _MyROImage.Dispose();// Dispose related value
|
||||
// _MyROImage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ROImageFigure tmp)
|
||||
@ -312,16 +324,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_FigureInfoExtension.Refresh(this);
|
||||
if(_MyROFst != null)
|
||||
{
|
||||
_MyROFst.Dispose();// Dispose related value
|
||||
_MyROFst = null;// Reset related value
|
||||
}
|
||||
if(_MyROImage != null)
|
||||
{
|
||||
_MyROImage.Dispose();// Dispose related value
|
||||
_MyROImage = 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
|
||||
// }
|
||||
//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(_MyROImage != null)
|
||||
// {
|
||||
// _MyROImage.Dispose();// Dispose related value
|
||||
// _MyROImage = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static FigureInfo Get(int figureID)
|
||||
|
@ -433,21 +433,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ConnectionFolder tmp)
|
||||
@ -482,21 +491,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(FormatFolder tmp)
|
||||
@ -531,21 +549,30 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_FolderInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = null;// Reset related value
|
||||
}
|
||||
if(_MyConnection != null)
|
||||
{
|
||||
_MyConnection.Dispose();// Dispose related value
|
||||
_MyConnection = null;// Reset related value
|
||||
}
|
||||
if(_MyFormat != null)
|
||||
{
|
||||
_MyFormat.Dispose();// Dispose related value
|
||||
_MyFormat = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = 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(_MyConnection != null)
|
||||
// {
|
||||
// _MyConnection.Dispose();// Dispose related value
|
||||
// _MyConnection = 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(_MyFormat != null)
|
||||
// {
|
||||
// _MyFormat.Dispose();// Dispose related value
|
||||
// _MyFormat = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static FolderInfo Get(int folderID)
|
||||
|
@ -402,11 +402,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_FormatInfoExtension.Refresh(this);
|
||||
if(_MyParent != null)
|
||||
{
|
||||
_MyParent.Dispose();// Dispose related value
|
||||
_MyParent = 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(_MyParent != null)
|
||||
// {
|
||||
// _MyParent.Dispose();// Dispose related value
|
||||
// _MyParent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static FormatInfo Get(int formatID)
|
||||
|
@ -463,16 +463,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ItemInfoExtension.Refresh(this);
|
||||
if(_MyPrevious != null)
|
||||
{
|
||||
_MyPrevious.Dispose();// Dispose related value
|
||||
_MyPrevious = null;// Reset related value
|
||||
}
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = 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(_MyPrevious != null)
|
||||
// {
|
||||
// _MyPrevious.Dispose();// Dispose related value
|
||||
// _MyPrevious = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ContentItem tmp)
|
||||
@ -495,16 +501,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ItemInfoExtension.Refresh(this);
|
||||
if(_MyPrevious != null)
|
||||
{
|
||||
_MyPrevious.Dispose();// Dispose related value
|
||||
_MyPrevious = null;// Reset related value
|
||||
}
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = 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(_MyPrevious != null)
|
||||
// {
|
||||
// _MyPrevious.Dispose();// Dispose related value
|
||||
// _MyPrevious = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static ItemInfo Get(int itemID)
|
||||
|
@ -268,16 +268,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_MembershipInfoExtension.Refresh(this);
|
||||
if(_MyUser != null)
|
||||
{
|
||||
_MyUser.Dispose();// Dispose related value
|
||||
_MyUser = null;// Reset related value
|
||||
}
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = 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(_MyUser != null)
|
||||
// {
|
||||
// _MyUser.Dispose();// Dispose related value
|
||||
// _MyUser = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(GroupMembership tmp)
|
||||
@ -303,16 +309,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_MembershipInfoExtension.Refresh(this);
|
||||
if(_MyUser != null)
|
||||
{
|
||||
_MyUser.Dispose();// Dispose related value
|
||||
_MyUser = null;// Reset related value
|
||||
}
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = 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(_MyUser != null)
|
||||
// {
|
||||
// _MyUser.Dispose();// Dispose related value
|
||||
// _MyUser = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(UserMembership tmp)
|
||||
@ -338,16 +350,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_MembershipInfoExtension.Refresh(this);
|
||||
if(_MyUser != null)
|
||||
{
|
||||
_MyUser.Dispose();// Dispose related value
|
||||
_MyUser = null;// Reset related value
|
||||
}
|
||||
if(_MyGroup != null)
|
||||
{
|
||||
_MyGroup.Dispose();// Dispose related value
|
||||
_MyGroup = 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(_MyUser != null)
|
||||
// {
|
||||
// _MyUser.Dispose();// Dispose related value
|
||||
// _MyUser = 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(_MyGroup != null)
|
||||
// {
|
||||
// _MyGroup.Dispose();// Dispose related value
|
||||
// _MyGroup = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static MembershipInfo Get(int ugid)
|
||||
|
@ -230,16 +230,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_PartInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(Content myContent, ContentPart tmp)
|
||||
@ -262,16 +268,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_PartInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(ItemPart tmp)
|
||||
@ -287,16 +299,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_PartInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItem != null)
|
||||
{
|
||||
_MyItem.Dispose();// Dispose related value
|
||||
_MyItem = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItem != null)
|
||||
// {
|
||||
// _MyItem.Dispose();// Dispose related value
|
||||
// _MyItem = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static PartInfo Get(int contentID, int fromType)
|
||||
|
@ -295,11 +295,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_PermissionInfoExtension.Refresh(this);
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static void Refresh(RolePermission tmp)
|
||||
@ -322,11 +325,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UsrID = tmp.UsrID;
|
||||
_PermissionInfoExtension.Refresh(this);
|
||||
if(_MyRole != null)
|
||||
{
|
||||
_MyRole.Dispose();// Dispose related value
|
||||
_MyRole = 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(_MyRole != null)
|
||||
// {
|
||||
// _MyRole.Dispose();// Dispose related value
|
||||
// _MyRole = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static PermissionInfo Get(int pid)
|
||||
|
@ -304,11 +304,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ROFstInfoExtension.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(RODbROFst tmp)
|
||||
@ -326,11 +329,14 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_ROFstInfoExtension.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 ROFstInfo Get(int rOFstID)
|
||||
|
@ -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)
|
||||
|
@ -257,16 +257,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyRODb = null; // Reset list so that the next line gets a new list
|
||||
if (MyRODb != null) MyRODb.RefreshRODbRoUsages(); // Update List for new value
|
||||
_RoUsageInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(ContentRoUsage tmp)
|
||||
@ -291,16 +297,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyRODb = null; // Reset list so that the next line gets a new list
|
||||
if (MyRODb != null) MyRODb.RefreshRODbRoUsages(); // Update List for new value
|
||||
_RoUsageInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(RODbRoUsage tmp)
|
||||
@ -325,16 +337,22 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_RoUsageInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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 RoUsageInfo Get(int rOUsageID)
|
||||
|
@ -318,26 +318,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@ -370,26 +382,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@ -422,26 +446,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
@ -474,26 +510,38 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_TransitionInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = null;// Reset related value
|
||||
}
|
||||
if(_MyItemToID != null)
|
||||
{
|
||||
_MyItemToID.Dispose();// Dispose related value
|
||||
_MyItemToID = null;// Reset related value
|
||||
}
|
||||
if(_MyItemRangeID != null)
|
||||
{
|
||||
_MyItemRangeID.Dispose();// Dispose related value
|
||||
_MyItemRangeID = null;// Reset related value
|
||||
}
|
||||
if(_MyZTransition != null)
|
||||
{
|
||||
_MyZTransition.Dispose();// Dispose related value
|
||||
_MyZTransition = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = 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(_MyItemToID != null)
|
||||
// {
|
||||
// _MyItemToID.Dispose();// Dispose related value
|
||||
// _MyItemToID = 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(_MyItemRangeID != null)
|
||||
// {
|
||||
// _MyItemRangeID.Dispose();// Dispose related value
|
||||
// _MyItemRangeID = 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(_MyZTransition != null)
|
||||
// {
|
||||
// _MyZTransition.Dispose();// Dispose related value
|
||||
// _MyZTransition = null;// Reset related value
|
||||
// }
|
||||
_TransitionZTransitionCount = -1;// Reset Count
|
||||
OnChange();// raise an event
|
||||
}
|
||||
|
@ -175,11 +175,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_OldStepSequence = tmp.OldStepSequence;
|
||||
_ZContentInfoExtension.Refresh(this);
|
||||
if(_MyContent != null)
|
||||
{
|
||||
_MyContent.Dispose();// Dispose related value
|
||||
_MyContent = 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(_MyContent != null)
|
||||
// {
|
||||
// _MyContent.Dispose();// Dispose related value
|
||||
// _MyContent = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static ZContentInfo Get(int contentID)
|
||||
|
@ -175,11 +175,14 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
_Oldto = tmp.Oldto;
|
||||
_ZTransitionInfoExtension.Refresh(this);
|
||||
if(_MyTransition != null)
|
||||
{
|
||||
_MyTransition.Dispose();// Dispose related value
|
||||
_MyTransition = 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(_MyTransition != null)
|
||||
// {
|
||||
// _MyTransition.Dispose();// Dispose related value
|
||||
// _MyTransition = null;// Reset related value
|
||||
// }
|
||||
OnChange();// raise an event
|
||||
}
|
||||
public static ZTransitionInfo Get(int transitionID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user