EntityContext Class

Definition

The EntityContext is an abstract base class which provides the same functionality as the 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
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