Beispiel #1
0
        public void FieldChanged(string rowEntity, string fieldName, object oldValue, object newValue)
        {
            if (oldValue is Binary || newValue is Binary)
            {
                return;
            }

            var logChangedFieldEntry = new LogChangedFieldEntry(
                null, rowEntity, fieldName, oldValue, newValue);

            ChangedFieldList.Add(logChangedFieldEntry);
        }
Beispiel #2
0
        public void FieldChanged(string tableName, string tableNameKz, string rowEntity, string fieldName, string fieldNameKz, bool isDetailsViewVisible, object oldValue, object newValue)
        {
            if (oldValue is Binary || newValue is Binary)
            {
                return;
            }

            var logChangedFieldEntry = new LogChangedFieldEntry(
                tableName, tableNameKz, rowEntity, fieldName, fieldNameKz, isDetailsViewVisible, oldValue, newValue);

            ChangedFieldList.Add(logChangedFieldEntry);
        }