Share via


EdmFunction Class

Definition

Class for representing a function

public class EdmFunction : System.Data.Entity.Core.Metadata.Edm.EdmType
type EdmFunction = class
    inherit EdmType
Public Class EdmFunction
Inherits EdmType
Inheritance

Properties

Abstract

Gets a value indicating whether this type is abstract or not.

(Inherited from EdmType)
AggregateAttribute

Gets the aggregate attribute of this function.

BaseType

Gets the base type of this type.

(Inherited from EdmType)
BuiltInAttribute

Gets a value indicating whether built in attribute is present on this function.

BuiltInTypeKind

Gets the built-in type kind for this EdmFunction.

CommandTextAttribute

Gets a query in the language that is used by the database management system or storage model.

Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
FullName

Returns the full name (namespace plus name) of this type.

IsComposableAttribute

Gets whether this instance is mapped to a function or to a stored procedure.

IsFromProviderManifest

Gets a value indicating whether this instance is from the provider manifest.

MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name

Gets the name of this type.

(Inherited from EdmType)
NamespaceName

Gets the namespace of this type.

(Inherited from EdmType)
NiladicFunctionAttribute

Gets a value indicating whether the is a niladic function (a function that accepts no arguments).

Parameters

Gets the parameters of this EdmFunction.

ParameterTypeSemanticsAttribute

Gets the parameter type semantics attribute of this function.

ReturnParameter

Gets the return parameter of this EdmFunction.

ReturnParameters

Gets the return parameters of this EdmFunction.

Schema

Gets or sets the schema associated with the function.

StoreFunctionNameAttribute

Gets the store function name attribute of this function.

Methods

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
AddParameter(FunctionParameter)

Adds a parameter to this function.

Create(String, String, DataSpace, EdmFunctionPayload, IEnumerable<MetadataProperty>)

The factory method for constructing the EdmFunction object.

GetCollectionType()

Returns an instance of the CollectionType whose element type is this type.

(Inherited from EdmType)
RemoveAnnotation(String)

Removes an annotation with the specified name.

(Inherited from MetadataItem)
ToString()

Returns the full name of this type.

(Inherited from EdmType)

Extension Methods

Aggregate(EdmFunction, DbExpression)

Creates a new DbFunctionAggregate.

AggregateDistinct(EdmFunction, DbExpression)

Creates a new DbFunctionAggregate that is applied in a distinct fashion.

Invoke(EdmFunction, IEnumerable<DbExpression>)

Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments.

Invoke(EdmFunction, DbExpression[])

Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments.

Applies to