MetadataWorkspace.GetFunctions Method
Gets all the overloads of the function with the given name.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | 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. |
MetadataWorkspace.GetFunctions Method (String, String, DataSpace)
Returns all the overloads of the functions by using the specified name, namespace name, and data model.
public virtual ReadOnlyCollection<EdmFunction> GetFunctions( string name, string namespaceName, DataSpace dataSpace )
Parameters
- name
-
Type:
System.String
The name of the function.
- namespaceName
-
Type:
System.String
The namespace of the function.
- dataSpace
-
Type:
System.Data.Entity.Core.Metadata.Edm.DataSpace
The conceptual model in which the functions are searched.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.
Exception | Condition |
---|---|
ArgumentException | Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace |
MetadataWorkspace.GetFunctions Method (String, String, DataSpace, Boolean)
Returns all the overloads of the functions by using the specified name, namespace name, and data model.
public virtual ReadOnlyCollection<EdmFunction> GetFunctions( string name, string namespaceName, DataSpace dataSpace, bool ignoreCase )
Parameters
- name
-
Type:
System.String
The name of the function.
- namespaceName
-
Type:
System.String
The namespace of the function.
- dataSpace
-
Type:
System.Data.Entity.Core.Metadata.Edm.DataSpace
The conceptual model in which the functions are searched.
- ignoreCase
-
Type:
System.Boolean
true to perform the case-insensitive search; otherwise, false.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<EdmFunction>A collection of type ReadOnlyCollection<T> that contains all the functions that match the specified name in a given namespace and a data model.
Exception | Condition |
---|---|
ArgumentException | Thrown if the space is not a valid space. Valid space is either C, O, CS or OCSpace |