MetadataWorkspace.CreateQueryCommandTree(DbExpression) Metodo

Definizione

Crea un nuovo DbQueryCommandTree che viene associato all'area di lavoro dei metadati, in base all'espressione di query specificata.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

Parametri

query
DbExpression

Oggetto DbExpression che definisce la query.A DbExpression that defines the query.

Restituisce

Nuovo DbQueryCommandTree con l'espressione specificata come la relativa proprietà Query.A new DbQueryCommandTree with the specified expression as it's Query property.

Eccezioni

Si applica a