DbExpressionBuilder.GetRefKey(DbExpression) Método
Definição
Cria uma nova DbRefKeyExpression que recupera os valores de chave da referência especificada de forma estrutural.Creates a new DbRefKeyExpression that retrieves the key values of the specified reference in structural form.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbRefKeyExpression ^ GetRefKey(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbRefKeyExpression GetRefKey (this System.Data.Common.CommandTrees.DbExpression argument);
static member GetRefKey : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbRefKeyExpression
<Extension()>
Public Function GetRefKey (argument As DbExpression) As DbRefKeyExpression
Parâmetros
- argument
- DbExpression
A expressão que fornece a referência.The expression that provides the reference. Essa expressão deve ter um tipo de referência com um tipo de elemento de entidade.This expression must have a reference Type with an Entity element type.
Retornos
Uma nova DbRefKeyExpression que recupera os valores de chave da referência especificada.A new DbRefKeyExpression that retrieves the key values of the specified reference.
Exceções
argument é nulo.argument is null.
argument não tem um tipo de resultado de referência.argument does not have a reference result type.