MetadataWorkspace.GetFunctions Method

Definition

Overloads

GetFunctions(String, String, DataSpace)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

GetFunctions(String, String, DataSpace, Boolean)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

GetFunctions(String, String, DataSpace)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

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>

Parameters

name
String

The name of the function.

namespaceName
String

The namespace of the function.

dataSpace
DataSpace

The conceptual model in which the functions are searched.

Returns

A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.

Exceptions

Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace

Applies to

GetFunctions(String, String, DataSpace, Boolean)

Returns all the overloads of the functions by using the specified name, namespace name, and data model.

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>

Parameters

name
String

The name of the function.

namespaceName
String

The namespace of the function.

dataSpace
DataSpace

The conceptual model in which the functions are searched.

ignoreCase
Boolean

true to perform the case-insensitive search; otherwise, false.

Returns

A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.

Exceptions

Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace

Applies to