C# 클래스 TechEdWebApiDemo.DAL.TechEdContext

Entity Framework Code-First DataContext
The base sets the connection string in web.config If no base connection string is specified then DefaultConnection will be used
상속: DbContext
파일 보기 프로젝트 열기: garchibald/TechEdWebApiDemo

공개 메소드들

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

보호된 메소드들

메소드 설명
OnModelCreating ( DbModelBuilder modelBuilder ) : void

When creating database remove plural table names

메소드 상세

OnModelCreating() 보호된 메소드

When creating database remove plural table names
protected OnModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
리턴 void

TechEdContext() 공개 메소드

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