> ## 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.

# EdmParameter

> Represents a parameter 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.EdmParameter
```

## Summary

Represents a parameter in the Entity Data Model.

## Remarks

Parameters are used to define inputs to functions and actions in the OData model.

## Constructors

### &#x20;.ctor

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

#### Syntax

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

### &#x20;.ctor

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

#### Syntax

```csharp theme={null}
public EdmParameter(string name, string type)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `name` | `string` | The parameter name. |
| `type` | `string` | The parameter type. |

### &#x20;.ctor Inherited

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

#### Syntax

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

## Properties

### &#x20;Description

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

#### 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;LongDescription

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

#### 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;MaxLength

Gets or sets the maximum length for string parameters.

#### Syntax

```csharp theme={null}
public System.Nullable<int> MaxLength { get; set; }
```

#### Property Value

Type: `System.Nullable<int>`
The maximum length, or null if not specified.

### &#x20;Name

Gets or sets the name of the parameter.

#### Syntax

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

#### Property Value

Type: `string`
The parameter name.

### &#x20;Nullable

Gets or sets a value indicating whether the parameter is nullable.

#### Syntax

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

#### Property Value

Type: `bool`
`true` if the parameter accepts null values; otherwise, `false`.

### &#x20;Precision

Gets or sets the precision for numeric parameters.

#### Syntax

```csharp theme={null}
public System.Nullable<int> Precision { get; set; }
```

#### Property Value

Type: `System.Nullable<int>`
The precision, or null if not specified.

### &#x20;Scale

Gets or sets the scale for decimal parameters.

#### Syntax

```csharp theme={null}
public System.Nullable<int> Scale { get; set; }
```

#### Property Value

Type: `System.Nullable<int>`
The scale, or null if not specified.

### &#x20;Type

Gets or sets the type of the parameter.

#### Syntax

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

#### Property Value

Type: `string`
The parameter type.

## 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.