DbFunctionCommandTree Constructor (MetadataWorkspace, DataSpace, EdmFunction, TypeUsage, IEnumerable<KeyValuePair<String, TypeUsage>>)

 

Constructs a new DbFunctionCommandTree that uses the specified metadata workspace, data space and function metadata.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public DbFunctionCommandTree(
	MetadataWorkspace metadata,
	DataSpace dataSpace,
	EdmFunction edmFunction,
	TypeUsage resultType,
	IEnumerable<KeyValuePair<string, TypeUsage>> parameters
)

Parameters

metadata
Type: System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace

The metadata workspace that the command tree should use.

dataSpace
Type: System.Data.Entity.Core.Metadata.Edm.DataSpace

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

edmFunction
Type: System.Data.Entity.Core.Metadata.Edm.EdmFunction

The EDM function to invoke.

resultType
Type: System.Data.Entity.Core.Metadata.Edm.TypeUsage

The result type of the function.

parameters
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, TypeUsage>>

The parameters associated with the function to invoke.