CreateQueryCommandTree Method

MetadataWorkspace.CreateQueryCommandTree Method (DbExpression)

.NET Framework (current version)
 

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

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public DbQueryCommandTree CreateQueryCommandTree(
	DbExpression query
)

Parameters

query
Type: System.Data.Common.CommandTrees.DbExpression

A DbExpression that defines the query.

Return Value

Type: System.Data.Common.CommandTrees.DbQueryCommandTree

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

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft