C# Class CoyoteMoves.Data_Access.DeskDB

Mostrar archivo Open project: jakemmarsh/coyote-moves Class Usage Examples

Public Methods

Method Description
ChangeDeskPointAndOrientation ( string deskNumber, double topLeftX, double topLeftY, double orientation ) : bool
CheckIfDeskExists ( string deskNumber ) : bool
DeskDB ( ) : System
GetAllDesks ( ) : List
GetDesksFromFloor ( int floor ) : List

Function to query the database for desks on a particular floor

InsertInformationIntoDeskDB ( string deskNumber, int topLeftX, int topLeftY, int orientation, int floorNumber, int employeeID ) : bool
RemoveDeskFromDeskDB ( string deskNumber ) : bool

Method Details

ChangeDeskPointAndOrientation() public method

public ChangeDeskPointAndOrientation ( string deskNumber, double topLeftX, double topLeftY, double orientation ) : bool
deskNumber string
topLeftX double
topLeftY double
orientation double
return bool

CheckIfDeskExists() public method

public CheckIfDeskExists ( string deskNumber ) : bool
deskNumber string
return bool

DeskDB() public method

public DeskDB ( ) : System
return System

GetAllDesks() public method

public GetAllDesks ( ) : List
return List

GetDesksFromFloor() public method

Function to query the database for desks on a particular floor
public GetDesksFromFloor ( int floor ) : List
floor int
return List

InsertInformationIntoDeskDB() public method

public InsertInformationIntoDeskDB ( string deskNumber, int topLeftX, int topLeftY, int orientation, int floorNumber, int employeeID ) : bool
deskNumber string
topLeftX int
topLeftY int
orientation int
floorNumber int
employeeID int
return bool

RemoveDeskFromDeskDB() public method

public RemoveDeskFromDeskDB ( string deskNumber ) : bool
deskNumber string
return bool