DbExpressionBuilder.GetEntityRef(DbExpression) Método

Definição

Cria uma nova DbEntityRefExpression que recupera a referência da entidade especificada no formulário 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. Essa expressão deve ter um tipo de resultado de entidade.

Retornos

Uma nova DbEntityRefExpression que recupera uma referência para a entidade especificada.

Exceções

argument é nulo.

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

Aplica-se a