Freigeben über


JoinExpressionBase.WithAlias(String) Method

Definition

The implementation of WithAlias(String) for join expressions always throws, since the alias on joins is always null. Set the alias on the enclosed table expression instead.

public override Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase WithAlias (string newAlias);
override this.WithAlias : string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Public Overrides Function WithAlias (newAlias As String) As TableExpressionBase

Parameters

newAlias
String

Returns

Applies to