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

# IEntityFrameworkApi

> Interface for Entity Framework Api instances.             Makes easy retrieval of the DbContext possible.

## Definition

**Assembly:** Microsoft.Restier.EntityFramework.dll

**Namespace:** Microsoft.Restier.EntityFramework

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.EntityFramework.IEntityFrameworkApi
```

## Summary

Interface for Entity Framework Api instances.
Makes easy retrieval of the DbContext possible.

## Properties

### &#x20;ContextType Abstract

Gets the Context Type.

#### Syntax

```csharp theme={"dark"}
System.Type ContextType { get; }
```

#### Property Value

Type: `System.Type`

### &#x20;DbContext Abstract

Gets the underlying DbContext for this API.

#### Syntax

```csharp theme={"dark"}
System.Data.Entity.DbContext DbContext { get; }
```

#### Property Value

Type: `System.Data.Entity.DbContext`


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