C# Класс Marmalade_Global.WhiteCollar

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

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

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

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

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

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

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

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

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

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