Redigera

Dela via


DbExpressionBuilder.Deref(DbExpression) Method

Definition

Creates a new DbDerefExpression that retrieves a specific Entity given a reference expression.

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

Parameters

argument
DbExpression

An DbExpression that provides the reference. This expression must have a reference Type.

Returns

A new DbDerefExpression that retrieves the specified Entity.

Exceptions

argument is null.

argument does not have a reference result type.

Applies to