Share via


TableExpressionBase.WithAlias(String) Method

Definition

Returns a copy of the current TableExpressionBase with the new provided alias.

public abstract Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase WithAlias (string newAlias);
abstract member WithAlias : string -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Public MustOverride Function WithAlias (newAlias As String) As TableExpressionBase

Parameters

newAlias
String

The alias to apply to the returned TableExpressionBase.

Returns

Applies to