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:
1 parent
7ab6604534
commit
f864d03eec
5 files changed
+20
-18
No files matched your search
@@ -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