C# Class WebApplication1.Models.HistoryModel

Inheritance: DbContext
Show file Open project: NuGet/Entropy Class Usage Examples

Public Methods

Method Description
AddNewHistoryEntry ( History newEntry ) : void
GetHistoryEntriesByIssueKey ( int id ) : List
HistoryModel ( ) : System

Protected Methods

Method Description
OnModelCreating ( DbModelBuilder modelBuilder ) : void

Method Details

AddNewHistoryEntry() public method

public AddNewHistoryEntry ( History newEntry ) : void
newEntry History
return void

GetHistoryEntriesByIssueKey() public method

public GetHistoryEntriesByIssueKey ( int id ) : List
id int
return List

HistoryModel() public method

public HistoryModel ( ) : System
return System

OnModelCreating() protected method

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