logic to save word sections with resolved RO values for exporting the approved procedure

logic to create an export file with unlinked RO and Transition
Commented out debug statements to help evaluate memory usage
This commit is contained in:
2016-02-18 15:29:25 +00:00
parent 6ae1fcda1a
commit 8cd75c0c14
7 changed files with 820 additions and 734 deletions

View File

@@ -878,14 +878,16 @@ namespace VEPROMS.CSLA.Library
{
get
{
//_MyLog.WarnFormat("LatestVersion 1 - {0}",GC.GetTotalMemory(true));
if (this.RevisionVersions == null || this.RevisionVersions.Count == 0) return null;
VersionInfo latest = this.RevisionVersions[0];
foreach (VersionInfo vi in this.RevisionVersions)
{
if (vi.DTS > latest.DTS)
latest = vi;
}
return latest;
VersionInfo latest = this.RevisionVersions[0];
foreach (VersionInfo vi in this.RevisionVersions)
{
if (vi.DTS > latest.DTS)
latest = vi;
}
//_MyLog.WarnFormat("LatestVersion 2 - {0}", GC.GetTotalMemory(true));
return latest;
}
}
public override string ToString()