C# Class Project_Marmelade.DataEmployee

显示文件 Open project: DMOe15a/ProjectMarmelade

Public Properties

Property Type Description
conn System.Data.SqlClient.SqlConnection

Public Methods

Method Description
CreateEmployee ( Employee employee ) : string
DataEmployee ( ) : Project_Marmelade.Business
DeleteEmployee ( string email ) : string
GetEmployeeByEmail ( string email ) : Employee
GetListOfEmails ( ) : List
GetListOfTitles ( ) : List
GetListOfTypes ( ) : List
ReadEmployees ( ) : List
UpdateEmployee ( string name, string address, string email, string type, string title, string workhours, string endOfEmployment ) : string

Method Details

CreateEmployee() public method

public CreateEmployee ( Employee employee ) : string
employee Employee
return string

DataEmployee() public method

public DataEmployee ( ) : Project_Marmelade.Business
return Project_Marmelade.Business

DeleteEmployee() public method

public DeleteEmployee ( string email ) : string
email string
return string

GetEmployeeByEmail() public method

public GetEmployeeByEmail ( string email ) : Employee
email string
return Employee

GetListOfEmails() public method

public GetListOfEmails ( ) : List
return List

GetListOfTitles() public method

public GetListOfTitles ( ) : List
return List

GetListOfTypes() public method

public GetListOfTypes ( ) : List
return List

ReadEmployees() public method

public ReadEmployees ( ) : List
return List

UpdateEmployee() public method

public UpdateEmployee ( string name, string address, string email, string type, string title, string workhours, string endOfEmployment ) : string
name string
address string
email string
type string
title string
workhours string
endOfEmployment string
return string

Property Details

conn public_oe property

public SqlConnection,System.Data.SqlClient conn
return System.Data.SqlClient.SqlConnection