Пример #1
0
        /// <summary>
        /// Search Sql alias
        /// </summary>
        /// <param name="alias">Alias string</param>
        /// <returns>Sql Alias</returns>
        public ONSqlAlias GetOnSqlAlias(string alias)
        {
            ONSqlAlias lOnSqlAlias = null;

            if (mFromAlias.ContainsKey(alias))
            {
                lOnSqlAlias = mFromAlias[alias];
            }

            if ((lOnSqlAlias == null) && (SuperQuery != null))
            {
                return(SuperQuery.GetOnSqlAlias(alias));
            }

            return(lOnSqlAlias);
        }