C# Class Marmalade_Global.BlueCollar

Inheritance: IEmployee
ファイルを表示 Open project: DMOE15C/project-marmelade Class Usage Examples

Public Methods

Method 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 method

public BlueCollar ( ) : System
return System

BlueCollar() public method

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
return System

SaveToDB() public static method

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