Evening all,
I've written a transfer application that needs to perform an update, then update a date corresponding to that update. I.e.
string content = string.Empty;
IIvdManager manager;
DateTime configDate;
if (table == Tables.Asset)
{
content = WebService.GetTblAsset(companyId);
manager = ivdData.Instance.Asset;
configDate = ivdConfig.LAST_UPDATE_ASSET;
}
else if (table == Tables.Site)
{
content = WebService.GetTblSite(companyId);
manager = ivdData.Instance.Site;
configDate = ivdConfig.LAST_UPDATE_SITE;
}
else if (table...)
{
...
}
if (content.Length > 0)
{
if (UpdateManager(manager, content))
{
configDate = DateTime.Now;
}
}
What I want is for the configDate property to update the corresponding Date Get/Set in my ivdConfig Static Class.
How can I do this?