Set the DTS to the Date of the Format.XML File when saving the Format record.
This commit is contained in:
parent
3b54c091c9
commit
640d2f7313
@ -166,6 +166,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
try
|
||||
{
|
||||
FileInfo fi = new FileInfo(path);
|
||||
Dts = fi.LastWriteTime;
|
||||
StreamReader srf = new StreamReader(path);
|
||||
xd = new XmlDocument();
|
||||
xd.Load(srf);
|
||||
@ -230,6 +232,8 @@ namespace VEPROMS.CSLA.Library
|
||||
rec = Format.Get(LookupFormats[fname]);
|
||||
rec.Data = fmtdata;
|
||||
rec.GenMac = genmacdata;
|
||||
rec.DTS = Dts;
|
||||
rec.UserID = Volian.Base.Library.VlnSettings.UserID;
|
||||
rec = rec.Save();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user