Changed how ROFSTLookup object was obtained based on correct DocVersion
Changed how RoFst date time is compared to actual ro.fst file date time
This commit is contained in:
@@ -178,6 +178,8 @@ namespace VEPROMS.CSLA.Library
|
||||
// if the database Ro.Fst is newer or if the files have identical DTS,
|
||||
// assume that they are the same file.
|
||||
if (roFstInfo.DTS >= fiRofst.LastWriteTimeUtc) return false;
|
||||
TimeSpan ts = roFstInfo.DTS - fiRofst.LastWriteTimeUtc;
|
||||
if (ts.TotalSeconds > -1F) return false;
|
||||
|
||||
// next see if the data is the same size, i.e. byte count of record and byte count
|
||||
// of file. If different sizes, the date/time stamp check will hold.
|
||||
|
Reference in New Issue
Block a user