C# 클래스 Marmalade_Global.BlueCollar

상속: IEmployee
파일 보기 프로젝트 열기: DMOE15C/project-marmelade 1 사용 예제들

공개 메소드들

메소드 설명
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