C# Class HBM.GeneralManagement.RoomDAO

显示文件 Open project: nirshandileep/HotelManagement Class Usage Examples

Public Methods

Method Description
DashboardUpdateDirtyRooms ( DataSet dsDirtyRooms ) : bool
Delete ( Room room ) : bool
Insert ( Room room ) : bool
InsertUpdateDelete ( DataSet ds ) : bool
IsDuplicateTypeName ( Room room ) : bool
SelectAll ( Room room ) : DataSet
SelectAllDirtyRooms ( int Company ) : DataSet
SelectAvailable ( int companyId, System.DateTime checkInDate, System.DateTime checkOutDate ) : DataSet
Update ( Room room ) : bool
UpdateRoomAsDirty ( Room room ) : bool
UpdateRoomAsDirty ( Room room, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool

Method Details

DashboardUpdateDirtyRooms() public method

public DashboardUpdateDirtyRooms ( DataSet dsDirtyRooms ) : bool
dsDirtyRooms System.Data.DataSet
return bool

Delete() public method

public Delete ( Room room ) : bool
room Room
return bool

Insert() public method

public Insert ( Room room ) : bool
room Room
return bool

InsertUpdateDelete() public method

public InsertUpdateDelete ( DataSet ds ) : bool
ds System.Data.DataSet
return bool

IsDuplicateTypeName() public method

public IsDuplicateTypeName ( Room room ) : bool
room Room
return bool

SelectAll() public method

public SelectAll ( Room room ) : DataSet
room Room
return System.Data.DataSet

SelectAllDirtyRooms() public method

public SelectAllDirtyRooms ( int Company ) : DataSet
Company int
return System.Data.DataSet

SelectAvailable() public method

public SelectAvailable ( int companyId, System.DateTime checkInDate, System.DateTime checkOutDate ) : DataSet
companyId int
checkInDate System.DateTime
checkOutDate System.DateTime
return System.Data.DataSet

Update() public method

public Update ( Room room ) : bool
room Room
return bool

UpdateRoomAsDirty() public method

public UpdateRoomAsDirty ( Room room ) : bool
room Room
return bool

UpdateRoomAsDirty() public method

public UpdateRoomAsDirty ( Room room, Microsoft.Practices.EnterpriseLibrary.Data.Database db, DbTransaction transaction ) : bool
room Room
db Microsoft.Practices.EnterpriseLibrary.Data.Database
transaction System.Data.Common.DbTransaction
return bool