/// <summary> /// Translates the <paramref name="tableExpression"/> into a string representation. /// </summary> /// <param name="tableExpression">The <see cref="DbTableExpression"/> to translate.</param> /// <returns><see cref="string"/></returns> protected override DbExpression VisitTableExpression(DbTableExpression tableExpression) { var sqlFragment = QuoteIdentifier(tableExpression.TableName); return(ExpressionFactory.Sql(sqlFragment)); }
/// <summary> /// Translates the <paramref name="tableExpression"/> into a string representation. /// </summary> /// <param name="tableExpression">The <see cref="DbTableExpression"/> to translate.</param> /// <returns><see cref="string"/></returns> protected override DbExpression VisitTableExpression(DbTableExpression tableExpression) { var sqlFragment = QuoteIdentifier(tableExpression.TableName); return ExpressionFactory.Sql(sqlFragment); }
/// <summary> /// Translates the <paramref name="tableExpression"/> into a string representation. /// </summary> /// <param name="tableExpression">The <see cref="DbTableExpression"/> to translate.</param> /// <returns><see cref="DbExpression"/></returns> protected virtual DbExpression VisitTableExpression(DbTableExpression tableExpression) { return(tableExpression); }
/// <summary> /// Translates the <paramref name="tableExpression"/> into a string representation. /// </summary> /// <param name="tableExpression">The <see cref="DbTableExpression"/> to translate.</param> /// <returns><see cref="DbExpression"/></returns> protected virtual DbExpression VisitTableExpression(DbTableExpression tableExpression) { return tableExpression; }