DbFunctionCommandTree 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造使用指定的元数据工作区、数据空间和函数元数据的新 DbFunctionCommandTree
[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
参数
- metadata
- MetadataWorkspace
命令树应使用的元数据工作区。
- dataSpace
- DataSpace
此命令树中使用的表达式中的元数据必须属于的逻辑“空间”。
- edmFunction
- EdmFunction
表示正在调用的函数的 EdmFunction。
- resultType
- TypeUsage
函数的第一个结果集的预期结果类型。
- parameters
- IEnumerable<KeyValuePair<String,TypeUsage>>
函数的参数。
- 属性
例外
metadata
edmFunction
或 dataSpace
为 null
dataSpace
不表示有效的数据空间或 edmFunction
为可组合函数