C# Class CycleSales.CycleSalesModel.CycleSalesContext

Inheritance: DbContext
Datei anzeigen Open project: rowanmiller/Demo-EF7 Class Usage Examples

Public Methods

Method Description
CycleSalesContext ( ) : Microsoft.Data.Entity
CycleSalesContext ( DbContextOptions options ) : Microsoft.Data.Entity
SaveChanges ( ) : int

Protected Methods

Method Description
OnConfiguring ( DbContextOptions options ) : void
OnModelCreating ( ModelBuilder builder ) : void

Method Details

CycleSalesContext() public method

public CycleSalesContext ( ) : Microsoft.Data.Entity
return Microsoft.Data.Entity

CycleSalesContext() public method

public CycleSalesContext ( DbContextOptions options ) : Microsoft.Data.Entity
options DbContextOptions
return Microsoft.Data.Entity

OnConfiguring() protected method

protected OnConfiguring ( DbContextOptions options ) : void
options DbContextOptions
return void

OnModelCreating() protected method

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

SaveChanges() public method

public SaveChanges ( ) : int
return int