ExampleMoviesEntities Class

Template MVC

ExampleMoviesEntities Class

The DbContext class of Entity Framework
Inheritance Hierarchy
SystemObject  DbContext
    Template.Repository.ContextExampleMoviesEntities

Namespace:  Template.Repository.Context
Assembly:  Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ExampleMoviesEntities : DbContext

The ExampleMoviesEntities type exposes the following members.

Constructors
  NameDescription
Public methodExampleMoviesEntities
The default constructor for the Entity class
Top
Properties
  NameDescription
Public propertyMOVIE_CATEGORY
Represents the table MOVIE_CATEGORY of the database with the base CRUD functions
Public propertyMOVIES
Represents the table MOVIES of the database with the base CRUD functions
Top
Methods
  NameDescription
Protected methodOnModelCreating
Overrides the base function to only throw an exception when is called, because this function is only called on a CodeFirst solution
(Overrides DbContext.OnModelCreating(DbModelBuilder).)
Top
See Also