C# Class CommanderDemo.Domain.ContactDb

We keep our models and database as internal because *everything* is only ever exposed via the command view models. We're also going to tell EntityFramework to use our MigrationsConfig which configures AutomaticMigrations to keep our db schema in sync with our model changes automatically on app startup.
Inheritance: DbContext
Show file Open project: Command-R/CommanderDemo Class Usage Examples

Public Methods

Method Description
ContactDb ( ) : System.Data.Entity

Method Details

ContactDb() public method

public ContactDb ( ) : System.Data.Entity
return System.Data.Entity