Пример #1
0
 protected override void Log(string oldValue, string newValue)
 {
     if (Column != "AdImageChanged" && Column != "AdImageUpdated")
     {
         LogDataChange.LogUpdate(Politicians.TableName, Column, oldValue, newValue,
                                 VotePage.UserName, SecurePage.UserSecurityClass, DateTime.UtcNow,
                                 ThisControl.GetPoliticianKeyToEdit().Key);
     }
 }
Пример #2
0
 protected override string GetCurrentValue() => Politicians.GetColumnExtended(Column,
                                                                              ThisControl.GetPoliticianKeyToEdit().Key);