共用方式為


MetadataWorkspace.GetFunctions 方法

定義

多載

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

適用於