C# Class Performance.EFCore.AdventureWorksContext

Inheritance: DbContext
显示文件 Open project: rowanmiller/Demo-EFCore Class Usage Examples

Protected Methods

Method Description
OnConfiguring ( DbContextOptionsBuilder optionsBuilder ) : void
OnModelCreating ( ModelBuilder modelBuilder ) : void

Method Details

OnConfiguring() protected method

protected OnConfiguring ( DbContextOptionsBuilder optionsBuilder ) : void
optionsBuilder DbContextOptionsBuilder
return void

OnModelCreating() protected method

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