示例#1
0
        /// <summary>
        /// Creates the sql string.
        /// </summary>
        /// <returns>The sql string.</returns>
        /// <param name="factory">Factory.</param>
        /// <param name="isFullName">If set to <c>true</c> is full name.</param>
        /// <param name="state">State.</param>
        internal override string CreateSqlString(CommandFactory factory, bool isFullName, CreateSqlState state)
        {
            string [] array = new string [_orderExpressions.Count];
            int       len   = array.Length;

            for (int i = 0; i < len; i++)
            {
                array [i] = _orderExpressions [i].CreateSqlString(factory, isFullName, state);
            }
            return(factory.CreateConcatExpressionSql(array));
        }