Share via


DbPropertyExpression.Instance Property

Definition

Gets a DbExpression that defines the instance from which the property should be retrieved.

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

Property Value

A DbExpression that defines the instance from which the property should be retrieved.

Exceptions

The expression is null.

The expression is not associated with the command tree of the DbPropertyExpression , or its result type is not equal or promotable to the type that defines the property.

Applies to