public override string ToStr() { string s = ""; if (!string.IsNullOrEmpty(LogicalSchema)) { s += ParserUtils.TableToStrEscape(LogicalSchema) + "."; } s += ParserUtils.TableToStrEscape(LogicalTableName); return(s); }
public override string ToStr() { string res = ""; if (!string.IsNullOrEmpty(FieldName)) { if (!string.IsNullOrEmpty(res)) { res += "."; } res += ParserUtils.TableToStrEscape(FieldName); } return(res); }
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); }