EdmFunction Class
Represents an EDM function.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmNamedElement
Microsoft.Data.Edm.Library.EdmFunctionBase
Microsoft.Data.Edm.Library.EdmFunction
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmFunction _
Inherits EdmFunctionBase _
Implements IEdmFunction, IEdmFunctionBase, IEdmSchemaElement, IEdmNamedElement, _
IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As EdmFunction
public class EdmFunction : EdmFunctionBase,
IEdmFunction, IEdmFunctionBase, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable,
IEdmElement
public ref class EdmFunction : public EdmFunctionBase,
IEdmFunction, IEdmFunctionBase, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable,
IEdmElement
type EdmFunction =
class
inherit EdmFunctionBase
interface IEdmFunction
interface IEdmFunctionBase
interface IEdmSchemaElement
interface IEdmNamedElement
interface IEdmVocabularyAnnotatable
interface IEdmElement
end
public class EdmFunction extends EdmFunctionBase implements IEdmFunction, IEdmFunctionBase, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
The EdmFunction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmFunction(String, String, IEdmTypeReference) | Creates a new instance of the EdmFunction class. | |
EdmFunction(String, String, IEdmTypeReference, String) | Initializes a new instance of the EdmFunction class. |
Top
Properties
Name | Description | |
---|---|---|
DefiningExpression | Gets the defining expression of this function. | |
Name | Gets the name of this element. (Inherited from EdmNamedElement.) | |
Namespace | Gets the namespace of this function. | |
Parameters | Gets the parameters of this function. (Inherited from EdmFunctionBase.) | |
ReturnType | Gets the return type of this function. (Inherited from EdmFunctionBase.) | |
SchemaElementKind | Gets the element kind of this function, which is always Function. |
Top
Methods
Name | Description | |
---|---|---|
AddParameter(IEdmFunctionParameter) | Adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
AddParameter(String, IEdmTypeReference) | Adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
AddParameter(String, IEdmTypeReference, EdmFunctionParameterMode) | Creates and adds a parameter to this function (as the last parameter). (Inherited from EdmFunctionBase.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindParameter | Searches for a parameter with the given name in this function and returns null if no such parameter exists. (Inherited from EdmFunctionBase.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
Errors | Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. (Defined by ValidationExtensionMethods.) | |
FullName | Gets the full name with the specified element. (Defined by ExtensionMethods.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
ToTraceString | Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
VocabularyAnnotations | Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.