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

# IModelBuilder

> The service for model generation.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core.Model

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Model.IModelBuilder
```

## Summary

The service for model generation.

## Methods

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetModel <Badge color="orange">Abstract</Badge>

Asynchronously gets an API model for an API.

#### Syntax

```csharp theme={"dark"}
Microsoft.OData.Edm.IEdmModel GetModel(Microsoft.Restier.Core.Model.ModelContext context)
```

#### Parameters

| Name      | Type                                        | Description                |
| --------- | ------------------------------------------- | -------------------------- |
| `context` | `Microsoft.Restier.Core.Model.ModelContext` | The context for processing |

#### Returns

Type: `Microsoft.OData.Edm.IEdmModel`
A task that represents the asynchronous
operation whose result is the API model.
