C# Class Project_Marmelade.DataEmployee

Afficher le fichier Open project: DMOe15a/ProjectMarmelade

Méthodes publiques

Свойство Type Description
conn System.Data.SqlClient.SqlConnection

Méthodes publiques

Méthode 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 méthode

public CreateEmployee ( Employee employee ) : string
employee Employee
Résultat string

DataEmployee() public méthode

public DataEmployee ( ) : Project_Marmelade.Business
Résultat Project_Marmelade.Business

DeleteEmployee() public méthode

public DeleteEmployee ( string email ) : string
email string
Résultat string

GetEmployeeByEmail() public méthode

public GetEmployeeByEmail ( string email ) : Employee
email string
Résultat Employee

GetListOfEmails() public méthode

public GetListOfEmails ( ) : List
Résultat List

GetListOfTitles() public méthode

public GetListOfTitles ( ) : List
Résultat List

GetListOfTypes() public méthode

public GetListOfTypes ( ) : List
Résultat List

ReadEmployees() public méthode

public ReadEmployees ( ) : List
Résultat List

UpdateEmployee() public méthode

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
Résultat string

Property Details

conn public_oe property

public SqlConnection,System.Data.SqlClient conn
Résultat System.Data.SqlClient.SqlConnection