C# Класс Marmalade_Global.BlueCollar

Наследование: IEmployee
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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...

Описание методов

BlueCollar() публичный Метод

public BlueCollar ( ) : System
Результат System

BlueCollar() публичный Метод

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
Результат System

SaveToDB() публичный статический Метод

saves blue collar Employee to DB...
public static SaveToDB ( BlueCollar employee ) : void
employee BlueCollar
Результат void