DbExpressionBuilder.Deref(DbExpression) Method

Definition

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

C#
public static System.Data.Common.CommandTrees.DbDerefExpression Deref(this System.Data.Common.CommandTrees.DbExpression argument);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1