MetadataWorkspace.CreateQueryCommandTree(DbExpression) Method     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.DbQueryCommandTreePublic Function CreateQueryCommandTree (query As DbExpression) As DbQueryCommandTreeParameters
- query
- DbExpression
A DbExpression that defines the query.
Returns
A new DbQueryCommandTree with the specified expression as it's Query property.
Exceptions
query
query