C# Class FBC.Northwind.Data.Context.MusicStoreDbContext

Inheritance: DbContext
显示文件 Open project: duncanhunter/WebAPI2-Onion-Architecture-SSW-Style-with-DI-and-UOW Class Usage Examples

Public Methods

Method Description
Commit ( ) : void
MusicStoreDbContext ( ) : System
MusicStoreDbContext ( string connectionString ) : System

Protected Methods

Method Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

MusicStoreDbContext() public method

public MusicStoreDbContext ( ) : System
return System

MusicStoreDbContext() public method

public MusicStoreDbContext ( string connectionString ) : System
connectionString string
return System

OnModelCreating() protected method

protected OnModelCreating ( DbModelBuilder modelBuilder ) : void
modelBuilder DbModelBuilder
return void