C# Class InsanelySimpleBlog.DataModel.SimpleBlogDbContext

Inheritance: DbContext
显示文件 Open project: JamesRandall/Insanely-Simple-Blog Class Usage Examples

Public Methods

Method Description
SimpleBlogDbContext ( ) : System.Data.Entity
SimpleBlogDbContext ( string sqlConnectionString ) : System.Data.Entity

Protected Methods

Method Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Method Details

OnModelCreating() protected method

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

SimpleBlogDbContext() public method

public SimpleBlogDbContext ( ) : System.Data.Entity
return System.Data.Entity

SimpleBlogDbContext() public method

public SimpleBlogDbContext ( string sqlConnectionString ) : System.Data.Entity
sqlConnectionString string
return System.Data.Entity