C# 클래스 HBM.CustomerManagement.CustomerDAO

파일 보기 프로젝트 열기: nirshandileep/HotelManagement

공개 메소드들

메소드 설명
Delete ( Customer customer ) : bool
Insert ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
InsertUpdateDelete ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
SelectAll ( Customer customer ) : DataSet
SelectByGroup ( int customerID ) : DataSet
SelectById ( int customerID ) : DataSet
SelectGroupByGroupId ( int groupId ) : DataSet
Update ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transacion ) : bool

메소드 상세

Delete() 공개 메소드

public Delete ( Customer customer ) : bool
customer Customer
리턴 bool

Insert() 공개 메소드

public Insert ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
customer Customer
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
리턴 bool

InsertUpdateDelete() 공개 메소드

public InsertUpdateDelete ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
customer Customer
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
리턴 bool

SelectAll() 공개 메소드

public SelectAll ( Customer customer ) : DataSet
customer Customer
리턴 System.Data.DataSet

SelectByGroup() 공개 메소드

public SelectByGroup ( int customerID ) : DataSet
customerID int
리턴 System.Data.DataSet

SelectById() 공개 메소드

public SelectById ( int customerID ) : DataSet
customerID int
리턴 System.Data.DataSet

SelectGroupByGroupId() 공개 메소드

public SelectGroupByGroupId ( int groupId ) : DataSet
groupId int
리턴 System.Data.DataSet

Update() 공개 메소드

public Update ( Customer customer, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transacion ) : bool
customer Customer
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transacion System.Data.Common.DbTransaction
리턴 bool