C# Class NoteTaker.NoteContext

Inheritance: DbContext
Exibir arquivo Open project: rowanmiller/Demo-EFCore Class Usage Examples

Public Methods

Method Description
NoteContext ( ) : Microsoft.EntityFrameworkCore
NoteContext ( DbContextOptions options ) : Microsoft.EntityFrameworkCore

Protected Methods

Method Description
OnConfiguring ( DbContextOptionsBuilder optionsBuilder ) : void

Method Details

NoteContext() public method

public NoteContext ( ) : Microsoft.EntityFrameworkCore
return Microsoft.EntityFrameworkCore

NoteContext() public method

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

OnConfiguring() protected method

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