EntityContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |