EntityContext Class

Definition

The EntityContext is an abstract base class which provides the same functionality as the System.Data.Entity.DbContext scaffolded by Visual Studio. It is optional to use this base class instead of the scaffolded code when using a TableController<TData>.

public abstract class EntityContext : System.Data.Entity.DbContext
type EntityContext = class
    inherit DbContext
Public MustInherit Class EntityContext
Inherits DbContext
Inheritance
System.Data.Entity.DbContext
EntityContext

Constructors

EntityContext()

Initializes a new instance of the EntityContext with the default schema name derived from the service name.

Methods

OnModelCreating(DbModelBuilder)

Applies to