Επεξεργασία

Κοινή χρήση μέσω


MetadataWorkspace.CreateQueryCommandTree(DbExpression) Method

Definition

Creates a new DbQueryCommandTree bound to this metadata workspace based on the specified query expression.

public:
 System::Data::Common::CommandTrees::DbQueryCommandTree ^ CreateQueryCommandTree(System::Data::Common::CommandTrees::DbExpression ^ query);
public System.Data.Common.CommandTrees.DbQueryCommandTree CreateQueryCommandTree (System.Data.Common.CommandTrees.DbExpression query);
member this.CreateQueryCommandTree : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbQueryCommandTree
Public Function CreateQueryCommandTree (query As DbExpression) As DbQueryCommandTree

Parameters

query
DbExpression

A DbExpression that defines the query.

Returns

A new DbQueryCommandTree with the specified expression as it's Query property.

Exceptions

Applies to