C# Class Tests.EmployeeRepositoryEF_Novice

Inheritance: ISimpleEmployeeRepository
Afficher le fichier Open project: docevaad/Chain Class Usage Examples

Méthodes publiques

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

public Delete ( int employeeKey ) : void
employeeKey int
Résultat void

Get() public méthode

public Get ( int employeeKey ) : Employee
employeeKey int
Résultat Employee

GetAll() public méthode

public GetAll ( ) : IList
Résultat IList

GetByManager() public méthode

public GetByManager ( int managerKey ) : IList
managerKey int
Résultat IList

GetOfficePhoneNumbers() public méthode

public GetOfficePhoneNumbers ( ) : IList
Résultat IList

Insert() public méthode

public Insert ( Employee employee ) : int
employee Employee
Résultat int

InsertAndReturn() public méthode

public InsertAndReturn ( Employee employee ) : Employee
employee Employee
Résultat Employee

Update() public méthode

public Update ( Employee employee ) : void
employee Employee
Résultat void

Update() public méthode

public Update ( EmployeeOfficePhone employee ) : void
employee Tests.Models.EmployeeOfficePhone
Résultat void

Upsert() public méthode

public Upsert ( Employee employee ) : int
employee Employee
Résultat int