C# Class AdventureWorks2008R2.EntityFramework.AdventureWorksDbContext

Inheritance: DbContext
显示文件 Open project: jdaigle/Horton

Public Methods

Method Description
AdventureWorksDbContext ( string nameOrConnectionString ) : System.Data.Entity

Protected Methods

Method Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Method Details

AdventureWorksDbContext() public method

public AdventureWorksDbContext ( string nameOrConnectionString ) : System.Data.Entity
nameOrConnectionString string
return System.Data.Entity

OnModelCreating() protected method

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