Share via


DbQueryCommandTree Constructors

Definition

Overloads

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics.

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression, Boolean)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics.

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression, Boolean, Boolean)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace.

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics.

public DbQueryCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Common.CommandTrees.DbExpression query);
new System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree

Parameters

metadata
MetadataWorkspace

The metadata workspace that the command tree should use.

dataSpace
DataSpace

The logical 'space' that metadata in the expressions used in this command tree must belong to.

query
DbExpression

A DbExpression that defines the logic of the query.

Exceptions

metadata or query is null

dataSpace does not represent a valid data space

Applies to

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression, Boolean)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace, using database null semantics.

public DbQueryCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Common.CommandTrees.DbExpression query, bool validate);
new System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpression * bool -> System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree

Parameters

metadata
MetadataWorkspace

The metadata workspace that the command tree should use.

dataSpace
DataSpace

The logical 'space' that metadata in the expressions used in this command tree must belong to.

query
DbExpression

A DbExpression that defines the logic of the query.

validate
Boolean

When set to false the validation of the tree is turned off.

Exceptions

metadata or query is null

dataSpace does not represent a valid data space

Applies to

DbQueryCommandTree(MetadataWorkspace, DataSpace, DbExpression, Boolean, Boolean)

Constructs a new DbQueryCommandTree that uses the specified metadata workspace.

public DbQueryCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Common.CommandTrees.DbExpression query, bool validate, bool useDatabaseNullSemantics);
new System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Common.CommandTrees.DbExpression * bool * bool -> System.Data.Entity.Core.Common.CommandTrees.DbQueryCommandTree

Parameters

metadata
MetadataWorkspace

The metadata workspace that the command tree should use.

dataSpace
DataSpace

The logical 'space' that metadata in the expressions used in this command tree must belong to.

query
DbExpression

A DbExpression that defines the logic of the query.

validate
Boolean

When set to false the validation of the tree is turned off.

useDatabaseNullSemantics
Boolean

A boolean that indicates whether database null semantics are exhibited when comparing two operands, both of which are potentially nullable.

Exceptions

metadata or query is null

dataSpace does not represent a valid data space

Applies to