예제 #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
파일: DPObject.cs 프로젝트: fjiang2/sqlcon
        /// <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)
 {
 }