Edit

Share via


DbPropertyExpression.Instance Property

Definition

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

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Instance { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Instance { get; }
member this.Instance : System.Data.Common.CommandTrees.DbExpression
Public 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