DbFunctionCommandTree Constructor
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.
Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public DbFunctionCommandTree (System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace metadata, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, System.Data.Entity.Core.Metadata.Edm.EdmFunction edmFunction, System.Data.Entity.Core.Metadata.Edm.TypeUsage resultType, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Data.Entity.Core.Metadata.Edm.TypeUsage>> parameters);
new System.Data.Entity.Core.Common.CommandTrees.DbFunctionCommandTree : System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace * System.Data.Entity.Core.Metadata.Edm.DataSpace * System.Data.Entity.Core.Metadata.Edm.EdmFunction * System.Data.Entity.Core.Metadata.Edm.TypeUsage * seq<System.Collections.Generic.KeyValuePair<string, System.Data.Entity.Core.Metadata.Edm.TypeUsage>> -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionCommandTree
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.
- edmFunction
- EdmFunction
The EdmFunction that represents the function that is being invoked.
- resultType
- TypeUsage
The expected result type for the function’s first result set.
- parameters
- IEnumerable<KeyValuePair<String,TypeUsage>>
The function's parameters.
- Attributes
Exceptions
metadata
, dataSpace
or edmFunction
is null
dataSpace
does not represent a valid data space or edmFunction
is a composable function
Applies to
Entity Framework