DbExpressionBuilder.GetEntityRef(DbExpression) Método

Definição

Cria um novo DbEntityRefExpression que recupera a referência da entidade especificada em forma estrutural.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbEntityRefExpression ^ GetEntityRef(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbEntityRefExpression GetEntityRef(this System.Data.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression

Parâmetros

argument
DbExpression

A expressão que fornece a entidade. Esta expressão deve ter um tipo de resultado de entidade.

Devoluções

Um novo DbEntityRefExpression que recupera uma referência à entidade especificada.

Exceções

argument é null.

argument não tem um tipo de resultado de entidade.

Aplica-se a