Esempio n. 1
0
        public override string ToStr()
        {
            string s = "";

            if (!string.IsNullOrEmpty(LogicalSchema))
            {
                s += ParserUtils.TableToStrEscape(LogicalSchema) + ".";
            }
            s += ParserUtils.TableToStrEscape(LogicalTableName);
            return(s);
        }
Esempio n. 2
0
        public override string ToStr()
        {
            string res = "";

            if (!string.IsNullOrEmpty(FieldName))
            {
                if (!string.IsNullOrEmpty(res))
                {
                    res += ".";
                }
                res += ParserUtils.TableToStrEscape(FieldName);
            }
            return(res);
        }
Esempio n. 3
0
        public override string ToStr()
        {
            string s = "";

            if (Table is ISelect)
            {
                s = "(" + Table.ToStr() + ")";
            }
            else
            {
                s = Table.ToStr();
            }
            if (!string.IsNullOrEmpty(Alias))
            {
                s += " as " + ParserUtils.TableToStrEscape(Alias) + " ";
            }
            return(s);
        }