C# 클래스 Data.ProductsRepository

파일 보기 프로젝트 열기: KHProjects/KH-Parker-Fox 1 사용 예제들

공개 메소드들

메소드 설명
Create ( Product product ) : void
Delete ( int id ) : void
Get ( ) : List
Get ( int id ) : Product
Get ( string name ) : Product
New ( ) : Product
Update ( Product product ) : void

메소드 상세

Create() 공개 메소드

public Create ( Product product ) : void
product Product
리턴 void

Delete() 공개 메소드

public Delete ( int id ) : void
id int
리턴 void

Get() 공개 메소드

public Get ( ) : List
리턴 List

Get() 공개 메소드

public Get ( int id ) : Product
id int
리턴 Product

Get() 공개 메소드

public Get ( string name ) : Product
name string
리턴 Product

New() 공개 메소드

public New ( ) : Product
리턴 Product

Update() 공개 메소드

public Update ( Product product ) : void
product Product
리턴 void