C# Класс Project_Marmelade.DataEmployee

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
conn System.Data.SqlClient.SqlConnection

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

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

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

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

public CreateEmployee ( Employee employee ) : string
employee Employee
Результат string

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

public DataEmployee ( ) : Project_Marmelade.Business
Результат Project_Marmelade.Business

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

public DeleteEmployee ( string email ) : string
email string
Результат string

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

public GetEmployeeByEmail ( string email ) : Employee
email string
Результат Employee

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

public GetListOfEmails ( ) : List
Результат List

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

public GetListOfTitles ( ) : List
Результат List

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

public GetListOfTypes ( ) : List
Результат List

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

public ReadEmployees ( ) : List
Результат List

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

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

Описание свойств

conn публичное свойство

public SqlConnection,System.Data.SqlClient conn
Результат System.Data.SqlClient.SqlConnection