C# Class Marmalade_Global.BlueCollar

Inheritance: IEmployee
Afficher le fichier Open project: DMOE15C/project-marmelade Class Usage Examples

Méthodes publiques

Méthode Description
BlueCollar ( ) : System
BlueCollar ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses shift, EmployeeStatuses department, EmployeeStatuses marity ) : System

Creates an employee

SaveToDB ( BlueCollar employee ) : void

saves blue collar Employee to DB...

Method Details

BlueCollar() public méthode

public BlueCollar ( ) : System
Résultat System

BlueCollar() public méthode

Creates an employee
public BlueCollar ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses shift, EmployeeStatuses department, EmployeeStatuses marity ) : System
name string Full name of the worker
phoneNo string Mobile/Landline phone number
address string Primary address
hourlyWage double Hourly wage as set in contract
personalID string CPR number or any other form of official identification
shift EmployeeStatuses Type of shifts the employee works
department EmployeeStatuses Department of the company the employee works for
marity EmployeeStatuses Employees marital status
Résultat System

SaveToDB() public static méthode

saves blue collar Employee to DB...
public static SaveToDB ( BlueCollar employee ) : void
employee BlueCollar
Résultat void