public override Expression VisitTable(TableExpression tableExpression) { Check.NotNull(tableExpression, nameof(tableExpression)); Sql.Append(SqlGenerator.DelimitIdentifier(tableExpression.Table)) .Append(" AS ") .Append(SqlGenerator.DelimitIdentifier(tableExpression.Alias)); return tableExpression; }
private bool Equals(TableExpression other) => string.Equals(Table, other.Table) && string.Equals(Schema, other.Schema) && string.Equals(Alias, other.Alias) && Equals(QuerySource, other.QuerySource);