Share via


DbExpressionBuilder.Deref(DbExpression) Method

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Deref")]
public static System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression Deref (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Deref : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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.

Attributes

Exceptions

argument is null.

argument does not have a reference result type.

Applies to