# 7.1.4 Configurar el EDM Model

OData utiliza el [Entity Data Model](https://docs.microsoft.com/es-es/dotnet/framework/data/adonet/entity-data-model) (EDM) para describir la estructura de los datos.

Al final de nuestra clase **Startup** agregamos la siguiente función para construir el Modelo y agregamos nuestra clase **Cliente**

{% code title="Startup.cs" %}

```csharp
private static IEdmModel GetEdmModel()
{
    ODataConventionModelBuilder builder = new ODataConventionModelBuilder();
    builder.EntitySet<Cliente>("Clientes");
    return builder.GetEdmModel();
}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://abi.gitbook.io/net-core/6.2-configurar-tus-servicios-con-odata/6.2.4-configurar-el-edm-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
