C# Class Tests.EmployeeRepositoryEF_Intermediate

Inheritance: ISimpleEmployeeRepository
Datei anzeigen Open project: docevaad/Chain Class Usage Examples

Public Methods

Method Description
Delete ( int employeeKey ) : void
Get ( int employeeKey ) : Employee
GetAll ( ) : IList
GetByManager ( int managerKey ) : IList
GetOfficePhoneNumbers ( ) : IList
Insert ( Employee employee ) : int
InsertAndReturn ( Employee employee ) : Employee
Update ( Employee employee ) : void
Update ( EmployeeOfficePhone employee ) : void
Upsert ( Employee employee ) : int

Method Details

Delete() public method

public Delete ( int employeeKey ) : void
employeeKey int
return void

Get() public method

public Get ( int employeeKey ) : Employee
employeeKey int
return Employee

GetAll() public method

public GetAll ( ) : IList
return IList

GetByManager() public method

public GetByManager ( int managerKey ) : IList
managerKey int
return IList

GetOfficePhoneNumbers() public method

public GetOfficePhoneNumbers ( ) : IList
return IList

Insert() public method

public Insert ( Employee employee ) : int
employee Employee
return int

InsertAndReturn() public method

public InsertAndReturn ( Employee employee ) : Employee
employee Employee
return Employee

Update() public method

public Update ( Employee employee ) : void
employee Employee
return void

Update() public method

public Update ( EmployeeOfficePhone employee ) : void
employee Tests.Models.EmployeeOfficePhone
return void

Upsert() public method

public Upsert ( Employee employee ) : int
employee Employee
return int