C# Class CoyoteMoves.Data_Access.DeskDB

Afficher le fichier Open project: jakemmarsh/coyote-moves Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public ChangeDeskPointAndOrientation ( string deskNumber, double topLeftX, double topLeftY, double orientation ) : bool
deskNumber string
topLeftX double
topLeftY double
orientation double
Résultat bool

CheckIfDeskExists() public méthode

public CheckIfDeskExists ( string deskNumber ) : bool
deskNumber string
Résultat bool

DeskDB() public méthode

public DeskDB ( ) : System
Résultat System

GetAllDesks() public méthode

public GetAllDesks ( ) : List
Résultat List

GetDesksFromFloor() public méthode

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

InsertInformationIntoDeskDB() public méthode

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
Résultat bool

RemoveDeskFromDeskDB() public méthode

public RemoveDeskFromDeskDB ( string deskNumber ) : bool
deskNumber string
Résultat bool