Skip to content

Commit

Permalink
Remove an assert which Smit doesn't like
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Nov 24, 2020
1 parent acc98d2 commit 0f43c19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/EFCore.Relational/Query/QuerySqlGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ protected override Expression VisitTableValuedFunction(TableValuedFunctionExpres
protected override Expression VisitColumn(ColumnExpression columnExpression)
{
Check.NotNull(columnExpression, nameof(columnExpression));
Check.DebugAssert(columnExpression.Table.Alias is not null,
$"{nameof(columnExpression.Table.Alias)} is null on {nameof(columnExpression)}.{nameof(columnExpression.Table)}");

_relationalCommandBuilder
.Append(_sqlGenerationHelper.DelimitIdentifier(columnExpression.Table.Alias))
Expand Down

0 comments on commit 0f43c19

Please sign in to comment.