MetadataWorkspace.GetFunctions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetFunctions(String, String, DataSpace) |
使用指定的名称、命名空间名称和数据模型返回所有函数重载。 |
GetFunctions(String, String, DataSpace, Boolean) |
使用指定的名称、命名空间名称和数据模型返回所有函数重载。 |
GetFunctions(String, String, DataSpace)
使用指定的名称、命名空间名称和数据模型返回所有函数重载。
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction> GetFunctions (string name, string namespaceName, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace);
abstract member GetFunctions : string * string * System.Data.Entity.Core.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction>
override this.GetFunctions : string * string * System.Data.Entity.Core.Metadata.Edm.DataSpace -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction>
参数
- name
- String
函数的名称。
- namespaceName
- String
函数的命名空间。
- dataSpace
- DataSpace
要从中搜索函数的概念模型。
返回
一个 ReadOnlyCollection<T> 类型的集合,其中包含给定命名空间和数据模型中与指定名称匹配的所有函数。
例外
如果空间不是有效空间,则引发。 有效空间为 C、O、CS 或 OCSpace
适用于
GetFunctions(String, String, DataSpace, Boolean)
使用指定的名称、命名空间名称和数据模型返回所有函数重载。
public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction> GetFunctions (string name, string namespaceName, System.Data.Entity.Core.Metadata.Edm.DataSpace dataSpace, bool ignoreCase);
abstract member GetFunctions : string * string * System.Data.Entity.Core.Metadata.Edm.DataSpace * bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction>
override this.GetFunctions : string * string * System.Data.Entity.Core.Metadata.Edm.DataSpace * bool -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Entity.Core.Metadata.Edm.EdmFunction>
参数
- name
- String
函数的名称。
- namespaceName
- String
函数的命名空间。
- dataSpace
- DataSpace
要从中搜索函数的概念模型。
- ignoreCase
- Boolean
如果执行不区分大小写的搜索,则为 true;否则为 false。
返回
一个 ReadOnlyCollection<T> 类型的集合,其中包含给定命名空间和数据模型中与指定名称匹配的所有函数。
例外
如果空间不是有效空间,则引发。 有效空间为 C、O、CS 或 OCSpace