Skip to main content

Definition

Assembly: Microsoft.Restier.EntityFramework.dll Namespace: Microsoft.Restier.EntityFramework

Syntax

Microsoft.Restier.EntityFramework.IEntityFrameworkApi

Summary

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

Properties

ContextType Abstract

Gets the Context Type.

Syntax

System.Type ContextType { get; }

Property Value

Type: System.Type

DbContext Abstract

Gets the underlying DbContext for this API.

Syntax

System.Data.Entity.DbContext DbContext { get; }

Property Value

Type: System.Data.Entity.DbContext