예제 #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 leftFieldSql  = leftField.CreateSqlString(factory, true, state);
            string rightFieldSql = rightField.CreateSqlString(factory, true, state);
            string sql           = factory.CreateJoinOnMatchSql(leftFieldSql, predicate, rightFieldSql);

            return(sql);
        }