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
Показать файл Открыть проект

Открытые методы

Метод Описание
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