MetadataWorkspace.CreateQueryCommandTree Method (DbExpression)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: