C# Class DataAccessEF.EmployeeEF

Mostrar archivo Open project: snahider/Test-Automation-NET

Public Methods

Method Description
Create ( Employee employee ) : void
Delete ( int id ) : void
EmployeeEF ( AppDbContext context ) : System
Find ( String lastName, System.DateTime startHireDate, System.DateTime endHireDate ) : IList
Get ( int id ) : Employee

Method Details

Create() public method

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

Delete() public method

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

EmployeeEF() public method

public EmployeeEF ( AppDbContext context ) : System
context AppDbContext
return System

Find() public method

public Find ( String lastName, System.DateTime startHireDate, System.DateTime endHireDate ) : IList
lastName String
startHireDate System.DateTime
endHireDate System.DateTime
return IList

Get() public method

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