Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EdmFunction Class

EdmFunction Class

Represents information about the functions that may be invoked from the queries written by the Entity SQL query language. These may be the built-in functions exposed by the storage provider or user-defined functions in a particular database.

Namespace:  System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public sealed class EdmFunction : EdmType

The EdmFunction type exposes the following members.

Public propertyAbstractGets a value indicating whether this type is abstract or not. (Inherited from EdmType.)
Public propertyBaseTypeGets the base type of this type. (Inherited from EdmType.)
Public propertyBuiltInTypeKindGets the built-in type kind for this EdmFunction. (Overrides MetadataItem.BuiltInTypeKind.)
Public propertyCommandTextAttributeGets a query in the language that is used by the database management system or storage model.
Public propertyDocumentationGets or sets the documentation associated with this type. (Inherited from MetadataItem.)
Public propertyFullNameReturns the full name (namespace plus name) of this type. (Overrides EdmType.FullName.)
Public propertyIsComposableAttributeGets or sets whether this instance is mapped to a function or to a stored procedure.
Public propertyMetadataPropertiesGets the list of properties of the current type. (Inherited from MetadataItem.)
Public propertyNameGets the name of this type. (Inherited from EdmType.)
Public propertyNamespaceNameGets the namespace of this type. (Inherited from EdmType.)
Public propertyParametersGets the parameters of this EdmFunction.
Public propertyReturnParameterGets the return parameter of this EdmFunction.
Public propertyReturnParametersGets the return parameters of this EdmFunction.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetCollectionTypeReturns an instance of the CollectionType whose element type is this type. (Inherited from EdmType.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the full name of this type. (Inherited from EdmType.)

Public Extension MethodAggregate Creates a new DbFunctionAggregate. (Defined by DbExpressionBuilder.)
Public Extension MethodAggregateDistinctCreates a new DbFunctionAggregate that is applied in a distinct fashion. (Defined by DbExpressionBuilder.)
Public Extension MethodInvoke(DbExpression[])Overloaded. Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments. (Defined by DbExpressionBuilder.)
Public Extension MethodInvoke(IEnumerable<DbExpression>)Overloaded. Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments. (Defined by DbExpressionBuilder.)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft