C# Class Gringotts.Persistence.InvestmentRepository

Mostrar archivo Open project: bagheera/Gringotts Class Usage Examples

Public Methods

Method Description
FetchAll ( ) : IList
GetInvestmentById ( int id ) : Investment
InvestmentRepository ( ISession session ) : System.Collections.Generic
Save ( Investment investment ) : void

Method Details

FetchAll() public method

public FetchAll ( ) : IList
return IList

GetInvestmentById() public method

public GetInvestmentById ( int id ) : Investment
id int
return Gringotts.Domain.Investment

InvestmentRepository() public method

public InvestmentRepository ( ISession session ) : System.Collections.Generic
session ISession
return System.Collections.Generic

Save() public method

public Save ( Investment investment ) : void
investment Gringotts.Domain.Investment
return void