Example #1
0
 public void UpdateBaseFields(Tuple <string, string> currentUserInfo, int itemId, BaseModel prevInfo)
 {
     Author    = prevInfo.Author;
     AuthorSID = prevInfo.AuthorSID;
     Created   = prevInfo.Created;
     Editor    = currentUserInfo.Item1;
     EditorSID = currentUserInfo.Item2;
     Modified  = DateTime.Now;
     UpdateVersion(prevInfo.VersionNumber);
     IsVersion = false;
     ItemID    = itemId;
 }