C# Класс Investor.Common.Service.Investment.Data.InvestmentRepository

Наследование: IInvestmentRepository
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_db Investor.Common.Shared.EntityFramework.InvestorContext

Открытые методы

Метод Описание
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

Описание методов

Create() публичный Метод

public Create ( InvestmentPoco investment ) : void
investment Investor.Common.Shared.Pocos.InvestmentPoco
Результат void

CreateInvestmentType() публичный Метод

public CreateInvestmentType ( InvestmentTypePoco investmenttype ) : void
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
Результат void

Delete() публичный Метод

public Delete ( long id ) : void
id long
Результат void

DeleteInvestmentType() публичный Метод

public DeleteInvestmentType ( long id ) : void
id long
Результат void

InvestmentRepository() публичный Метод

public InvestmentRepository ( ) : Investor.Common.Shared.EntityFramework
Результат Investor.Common.Shared.EntityFramework

Read() публичный Метод

public Read ( long id ) : InvestmentPoco
id long
Результат Investor.Common.Shared.Pocos.InvestmentPoco

ReadByMatureDate() публичный Метод

public ReadByMatureDate ( System.DateTime maturedate, int skip, int take ) : IEnumerable
maturedate System.DateTime
skip int
take int
Результат IEnumerable

ReadClient() публичный Метод

public ReadClient ( long id ) : IEnumerable
id long
Результат IEnumerable

ReadInvestmentType() публичный Метод

public ReadInvestmentType ( long id ) : InvestmentTypePoco
id long
Результат Investor.Common.Shared.Pocos.InvestmentTypePoco

Update() публичный Метод

public Update ( long id, InvestmentPoco investment ) : bool
id long
investment Investor.Common.Shared.Pocos.InvestmentPoco
Результат bool

UpdateInvestmentType() публичный Метод

public UpdateInvestmentType ( long id, InvestmentTypePoco investmenttype ) : bool
id long
investmenttype Investor.Common.Shared.Pocos.InvestmentTypePoco
Результат bool

Описание свойств

_db защищенное свойство

protected InvestorContext,Investor.Common.Shared.EntityFramework _db
Результат Investor.Common.Shared.EntityFramework.InvestorContext