C# Class Gringotts.Persistence.InvestorRepository

ファイルを表示 Open project: bagheera/Gringotts Class Usage Examples

Public Methods

Method Description
FetchAll ( ) : IList
GetInvestorById ( string id ) : Investor
InvestorRepository ( ISession session ) : System
Save ( Investor newInvestor ) : string

Method Details

FetchAll() public method

public FetchAll ( ) : IList
return IList

GetInvestorById() public method

public GetInvestorById ( string id ) : Investor
id string
return Gringotts.Domain.Investor

InvestorRepository() public method

public InvestorRepository ( ISession session ) : System
session ISession
return System

Save() public method

public Save ( Investor newInvestor ) : string
newInvestor Gringotts.Domain.Investor
return string