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 virtual System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree CreateQueryCommandTree (System.Data.Entity.Core.Common.CommandTrees.DbExpression query);
abstract member CreateQueryCommandTree : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree
override this.CreateQueryCommandTree : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree
Public Overridable Function CreateQueryCommandTree (query As DbExpression) As DbQueryCommandTree
Parameters
- query
- DbExpression
A DbExpression that defines the query.
Returns
A new DbQueryCommandTree with the specified expression as it's Query property.
Exceptions
If
query
is null
If
query
is not structurally valid because it contains unresolvable variable references
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework