Modified code to support structure changes to treeview nodes
This commit is contained in:
@@ -345,6 +345,16 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
private byte[] _LastChanged = new byte[8];//timestamp
|
||||
public byte[] LastChanged
|
||||
{
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
}
|
||||
private int _ContentDetailCount = 0;
|
||||
/// <summary>
|
||||
/// Count of ContentDetails for this Content
|
||||
|
@@ -117,6 +117,18 @@ namespace VEPROMS.CSLA.Library
|
||||
return _ContentID;
|
||||
}
|
||||
}
|
||||
private byte[] _LastChanged = new byte[8];//timestamp
|
||||
public byte[] LastChanged
|
||||
{
|
||||
[System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining)]
|
||||
get
|
||||
{
|
||||
CanReadProperty("LastChanged", true);
|
||||
return _LastChanged;
|
||||
}
|
||||
set { _LastChanged = value; }
|
||||
}
|
||||
|
||||
private string _Number = string.Empty;
|
||||
/// <summary>
|
||||
/// Increased from 30 to 256 to support RTF symbols
|
||||
@@ -631,6 +643,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_Config = tmp.Config;
|
||||
_DTS = tmp.DTS;
|
||||
_UserID = tmp.UserID;
|
||||
_LastChanged = tmp.LastChanged;
|
||||
_ContentInfoExtension.Refresh(this);
|
||||
_ContentEntryCount = -1;// Reset Count
|
||||
_ContentGridCount = -1;// Reset Count
|
||||
@@ -724,6 +737,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_Config = dr.GetString("Config");
|
||||
_DTS = dr.GetDateTime("DTS");
|
||||
_UserID = dr.GetString("UserID");
|
||||
dr.GetBytes("LastChanged", 0, _LastChanged, 0, 8);
|
||||
_ContentDetailCount = dr.GetInt32("DetailCount");
|
||||
_ContentEntryCount = dr.GetInt32("EntryCount");
|
||||
_ContentGridCount = dr.GetInt32("GridCount");
|
||||
|
@@ -304,6 +304,8 @@ namespace VEPROMS.CSLA.Library
|
||||
_DTSActivity = dr.GetDateTime("DTSActivity");
|
||||
_MachineName = dr.GetString("MachineName");
|
||||
_ProcessID = dr.GetInt32("ProcessID");
|
||||
dr.GetBytes("LastChanged", 0, _LastChanged, 0, 8);
|
||||
_LastContentChange = dr.GetInt64("LastContentChange");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user