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
Afficher le fichier Open project: Command-R/CommanderDemo Class Usage Examples

Méthodes publiques

Méthode Description
ContactDb ( ) : System.Data.Entity

Method Details

ContactDb() public méthode

public ContactDb ( ) : System.Data.Entity
Résultat System.Data.Entity