Пример #1
0
        /// <summary>
        ///     更新语句前处理(单个实体操作不引发)
        /// </summary>
        /// <param name="condition">执行条件</param>
        /// <param name="args">参数值</param>
        /// <param name="operatorType">操作类型</param>
        private void OnOperatorExecuting(string condition, IEnumerable <MySqlParameter> args, DataOperatorType operatorType)
        {
            var sqlParameters = args as MySqlParameter[] ?? args.ToArray();

            OnOperatorExecuting(operatorType, condition, sqlParameters);
            DataUpdateHandler.OnOperatorExecuting(TableId, condition, sqlParameters, operatorType);
        }