Edit

Share via


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);

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

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1