C# Class Marmalade_Global.WhiteCollar

Inheritance: IEmployee
Show file Open project: DMOE15C/project-marmelade Class Usage Examples

Public Methods

Method Description
SaveToDB ( WhiteCollar employee ) : void

saves white collar Employee to DB...

WhiteCollar ( ) : System
WhiteCollar ( string name, string phoneNo, string address, double hourlyWage, string personalID, EmployeeStatuses department, EmployeeStatuses marity ) : System

Creates an employee

Method Details

SaveToDB() public static method

saves white collar Employee to DB...
public static SaveToDB ( WhiteCollar employee ) : void
employee WhiteCollar
return void

WhiteCollar() public method

public WhiteCollar ( ) : System
return System

WhiteCollar() public method

Creates an employee
public WhiteCollar ( string name, string phoneNo, string address, double hourlyWage, string personalID, 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
department EmployeeStatuses Department of the company the employee works for
marity EmployeeStatuses Employees marital status
return System