Skip to main content

Definition

Assembly: Microsoft.EntityFrameworkCore.dll Namespace: Microsoft.EntityFrameworkCore

Syntax

Microsoft.EntityFrameworkCore.DbContext

Summary

This type is defined in Microsoft.EntityFrameworkCore.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

IsDbSetMapped Extension

Extension method from Microsoft.Restier.EntityFrameworkCore.EFCoreDbContextExtensions
Does the specified entity type have a DbSet mapping in the model

Syntax

public static bool IsDbSetMapped(Microsoft.EntityFrameworkCore.DbContext context, System.Type type)

Parameters

NameTypeDescription
contextMicrosoft.EntityFrameworkCore.DbContext-
typeSystem.Type-

Returns

Type: bool