示例#1
0
文件: Logger.cs 项目: fjiang2/sqlcon
        public void ValueChanged(object sender, ValueChangedEventArgs e)
        {
            if (!modified)      //log UPDATE, does not log INSERT/DELETE here
                return;

            if (log_row_id == -1)
                return;         // throw new ApplicationException("Log Table has not been not ready yet.");

            this.logee.LogColumn(log_row_id, this.tableName, this.tableId, e.columnName, e.originValue, e.value);
        }
示例#2
0
        /// <summary>
        /// fire ValueChanged event when any values changed
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected override void ValueChanged(object sender, ValueChangedEventArgs e)
        {
            if (this.logger == null) return;

            logger.ValueChanged(sender, e);
        }
示例#3
0
 protected virtual void ValueChanged(object sender, ValueChangedEventArgs e)
 {
 }