C# 클래스 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.
상속: DbContext
파일 보기 프로젝트 열기: Command-R/CommanderDemo 1 사용 예제들

공개 메소드들

메소드 설명
ContactDb ( ) : System.Data.Entity

메소드 상세

ContactDb() 공개 메소드

public ContactDb ( ) : System.Data.Entity
리턴 System.Data.Entity