C# Class BooksServiceSample.Models.BooksContext

Inheritance: DbContext
Mostrar archivo Open project: ProfessionalCSharp/ProfessionalCSharp6 Class Usage Examples

Public Methods

Method Description
BooksContext ( DbContextOptions options ) : Microsoft.EntityFrameworkCore

Protected Methods

Method Description
OnModelCreating ( ModelBuilder modelBuilder ) : void

Method Details

BooksContext() public method

public BooksContext ( DbContextOptions options ) : Microsoft.EntityFrameworkCore
options DbContextOptions
return Microsoft.EntityFrameworkCore

OnModelCreating() protected method

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