C# 클래스 Investor.Common.Service.Investment.Data.InvestmentRepository

상속: IInvestmentRepository
파일 보기 프로젝트 열기: johnhinz/Investor

보호된 프로퍼티들

프로퍼티 타입 설명
_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