C# Class Investor.Common.Service.Investment.Data.InvestmentRepository

Inheritance: IInvestmentRepository
Afficher le fichier Open project: johnhinz/Investor

Protected Properties

Свойство Type Description
_db Investor.Common.Shared.EntityFramework.InvestorContext

Méthodes publiques

Méthode Description
Create ( InvestmentPoco investment ) : void
CreateInvestmentType ( InvestmentTypePoco investmenttype ) : void
Delete ( long id ) : void
DeleteInvestmentType ( long id ) : void
InvestmentRepository ( ) : Investor.Common.Shared.EntityFramework
Read ( long id ) : InvestmentPoco
ReadByMatureDate ( System.DateTime maturedate, int skip, int take ) : IEnumerable
ReadClient ( long id ) : IEnumerable
ReadInvestmentType ( long id ) : InvestmentTypePoco
Update ( long id, InvestmentPoco investment ) : bool
UpdateInvestmentType ( long id, InvestmentTypePoco investmenttype ) : bool

Method Details

Create() public méthode

public Create ( InvestmentPoco investment ) : void
investment Investor.Common.Shared.Pocos.InvestmentPoco
Résultat void

CreateInvestmentType() public méthode

public CreateInvestmentType ( InvestmentTypePoco investmenttype ) : void
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
Résultat void

Delete() public méthode

public Delete ( long id ) : void
id long
Résultat void

DeleteInvestmentType() public méthode

public DeleteInvestmentType ( long id ) : void
id long
Résultat void

InvestmentRepository() public méthode

public InvestmentRepository ( ) : Investor.Common.Shared.EntityFramework
Résultat Investor.Common.Shared.EntityFramework

Read() public méthode

public Read ( long id ) : InvestmentPoco
id long
Résultat Investor.Common.Shared.Pocos.InvestmentPoco

ReadByMatureDate() public méthode

public ReadByMatureDate ( System.DateTime maturedate, int skip, int take ) : IEnumerable
maturedate System.DateTime
skip int
take int
Résultat IEnumerable

ReadClient() public méthode

public ReadClient ( long id ) : IEnumerable
id long
Résultat IEnumerable

ReadInvestmentType() public méthode

public ReadInvestmentType ( long id ) : InvestmentTypePoco
id long
Résultat Investor.Common.Shared.Pocos.InvestmentTypePoco

Update() public méthode

public Update ( long id, InvestmentPoco investment ) : bool
id long
investment Investor.Common.Shared.Pocos.InvestmentPoco
Résultat bool

UpdateInvestmentType() public méthode

public UpdateInvestmentType ( long id, InvestmentTypePoco investmenttype ) : bool
id long
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
Résultat bool

Property Details

_db protected_oe property

protected InvestorContext,Investor.Common.Shared.EntityFramework _db
Résultat Investor.Common.Shared.EntityFramework.InvestorContext