C# 클래스 DemoClientApp.Domain.CustomerService

파일 보기 프로젝트 열기: RichardSilveira/EntityFramework.MoqHelper 1 사용 예제들

공개 메소드들

메소드 설명
CustomerService ( DemoContext context = null ) : DemoClientApp.DAL
GetByID ( int ID ) : Customer
Insert ( Customer customer ) : void
Remove ( Customer customer ) : void

메소드 상세

CustomerService() 공개 메소드

public CustomerService ( DemoContext context = null ) : DemoClientApp.DAL
context DemoClientApp.DAL.DemoContext
리턴 DemoClientApp.DAL

GetByID() 공개 메소드

public GetByID ( int ID ) : Customer
ID int
리턴 Customer

Insert() 공개 메소드

public Insert ( Customer customer ) : void
customer Customer
리턴 void

Remove() 공개 메소드

public Remove ( Customer customer ) : void
customer Customer
리턴 void