MannsBlog.Data Namespace
MannsBlog.Services Namespace
MannsBlog.Services.DataProviders Namespace
MannsBlog

MannsContext Members

The MannsContext type exposes the following members.

Constructors


  Name Description
Public method MannsContext
Initializes a new instance of the MannsContext class.

Methods


  Name Description
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Private method MapEntity
Maps the entity.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnConfiguring

Override this method to configure the database (and other options) to be used for this context. This method is called for each instance of the context that is created. The base implementation does nothing.

In situations where an instance of DbContextOptions may or may not have been passed to the constructor, you can use IsConfigured to determine if the options have already been set, and skip some or all of the logic in OnConfiguring(Microsoft.EntityFrameworkCore.DbContextOptionsBuilder).

Protected method OnModelCreating
Configures the schema needed for the identity framework.
Public method ToString (Inherited from Object.)

Fields


  Name Description
Private field _config
The configuration

Properties


  Name Description
Public property Stories
Gets or sets the stories.