DbUnaryExpression.Argument Property

Definition

Gets the DbExpression that defines the argument.

public virtual System.Data.Entity.Core.Common.CommandTrees.DbExpression Argument { get; }
member this.Argument : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overridable ReadOnly Property Argument As DbExpression

Property Value

The DbExpression that defines the argument.

Exceptions

The expression is null.

The expression is not associated with the command tree of a DbUnaryExpression , or its result type is not equal or promotable to the required type for the argument.

Applies to