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

# DbContext

> Extension methods for DbContext from Microsoft.EntityFrameworkCore

## Definition

**Assembly:** Microsoft.EntityFrameworkCore.dll

**Namespace:** Microsoft.EntityFrameworkCore

## Syntax

```csharp theme={"dark"}
Microsoft.EntityFrameworkCore.DbContext
```

## Summary

This type is defined in Microsoft.EntityFrameworkCore.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/microsoft.entityframeworkcore.dbcontext) for more information about the rest of the API.

## Methods

### &#x20;IsDbSetMapped Extension

> [!NOTE]
>
> Extension method from `Microsoft.Restier.EntityFrameworkCore.EFCoreDbContextExtensions`

Does the specified entity type have a DbSet mapping in the model

#### Syntax

```csharp theme={"dark"}
public static bool IsDbSetMapped(Microsoft.EntityFrameworkCore.DbContext context, System.Type type)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `context` | `Microsoft.EntityFrameworkCore.DbContext` | - |
| `type` | `System.Type` | - |

#### Returns

Type: `bool`


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