DbQueryCommandTree.Query Property

Definition

Gets an DbExpression that defines the logic of the query operation.

public:
 property System::Data::Common::CommandTrees::DbExpression ^ Query { System::Data::Common::CommandTrees::DbExpression ^ get(); };
public System.Data.Common.CommandTrees.DbExpression Query { get; }
member this.Query : System.Data.Common.CommandTrees.DbExpression
Public ReadOnly Property Query As DbExpression

Property Value

An DbExpression that defines the logic of the query operation.

Exceptions

The expression is null.

The expression is associated with a different command tree.

Remarks

The Query property describes the root of the expression tree that defines the query. The DbCommandTree is in an invalid state until the Query property is set to a valid value.

Applies to