Esempio n. 1
0
        public StringBuilder LogCommand(StringBuilder sb)
        {
            sb.AppendLine("_一个子工作单元");
            bool _islog = LogSaveAtawChanges();

            if (_islog || !IsChildUnit)
            {
                if ((CommandItems != null && CommandItems.Count > 0))
                {
                    CommandItems.CommandToString(sb);
                }
                if (SqlTransList != null && SqlTransList.Count > 0)
                {
                    SqlTransList.SqlTransToString(sb);
                }
            }

            return(sb);
        }