> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# EdmFunction

> Represents a function in the Entity Data Model.

## Definition

**Assembly:** Microsoft.OData.Mcp.Core.dll

**Namespace:** Microsoft.OData.Mcp.Core.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
Microsoft.OData.Mcp.Core.Models.EdmFunction
```

## Summary

Represents a function in the Entity Data Model.

## Remarks

Functions are operations that can be called to retrieve data or perform calculations.
They are side-effect free and can be composed with other query operations.

## Constructors

### &#x20;.ctor

Initializes a new instance of the [EdmFunction](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Core/Models/EdmFunction.md) class.

#### Syntax

```csharp theme={null}
public EdmFunction()
```

### &#x20;.ctor

Initializes a new instance of the [EdmFunction](https://ai.easyaf.dev/odata-mcp/api-reference/Microsoft/OData/Mcp/Core/Models/EdmFunction.md) class with the specified name and namespace.

#### Syntax

```csharp theme={null}
public EdmFunction(string name, string namespaceName)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The function name. |
| `namespaceName` | `string` | The namespace containing this function. |

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public Object()
```

## Properties

### &#x20;BindingParameterType

Gets or sets the type that this function is bound to.

#### Syntax

```csharp theme={null}
public string BindingParameterType { get; set; }
```

#### Property Value

Type: `string?`
The type name that this function is bound to, if applicable.

### &#x20;Description

Gets or sets the CSDL documentation summary or `Core.Description` for this function.

#### Syntax

```csharp theme={null}
public string Description { get; set; }
```

#### Property Value

Type: `string?`
A human-readable summary from metadata, or `null` when none is declared.

### &#x20;FullName

Gets the fully qualified name of the function.

#### Syntax

```csharp theme={null}
public string FullName { get; }
```

#### Property Value

Type: `string`
The namespace and name separated by a dot.

### &#x20;IsBound

Gets or sets a value indicating whether the function is bound.

#### Syntax

```csharp theme={null}
public bool IsBound { get; set; }
```

#### Property Value

Type: `bool`
`true` if the function is bound to a type; otherwise, `false`.

#### Remarks

Bound functions are called on instances of a specific type.

### &#x20;IsComposable

Gets or sets a value indicating whether the function is composable.

#### Syntax

```csharp theme={null}
public bool IsComposable { get; set; }
```

#### Property Value

Type: `bool`
`true` if the function is composable; otherwise, `false`.

#### Remarks

Composable functions can be used in query expressions and can be combined with other operations.

### &#x20;LongDescription

Gets or sets the CSDL long description or `Core.LongDescription` for this function.

#### Syntax

```csharp theme={null}
public string LongDescription { get; set; }
```

#### Property Value

Type: `string?`
A longer documentation string from metadata, or `null` when none is declared.

### &#x20;Name

Gets or sets the name of the function.

#### Syntax

```csharp theme={null}
public string Name { get; set; }
```

#### Property Value

Type: `string`
The function name.

### &#x20;Namespace

Gets or sets the namespace of the function.

#### Syntax

```csharp theme={null}
public string Namespace { get; set; }
```

#### Property Value

Type: `string`
The namespace containing this function.

### &#x20;Parameters

Gets or sets the parameters of the function.

#### Syntax

```csharp theme={null}
public System.Collections.Generic.List<Microsoft.OData.Mcp.Core.Models.EdmParameter> Parameters { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<Microsoft.OData.Mcp.Core.Models.EdmParameter>`
A collection of parameters that the function accepts.

### &#x20;ReturnType

Gets or sets the return type of the function.

#### Syntax

```csharp theme={null}
public string ReturnType { get; set; }
```

#### Property Value

Type: `string?`
The type returned by the function.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.