C# Class EmployeeDB, code

显示文件 Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
Delete ( int empId ) : bool
Delete ( Employee, emp ) : void
Delete ( int ID ) : void
Insert ( Employee emp ) : void
Insert ( string Name, int Age ) : void
Update ( Employee emp ) : void
Update ( int ID, string Name, int Age ) : void

Method Details

Delete() public method

public Delete ( int empId ) : bool
empId int
return bool

Delete() public method

public Delete ( Employee, emp ) : void
emp Employee,
return void

Delete() public method

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

Insert() public method

public Insert ( Employee emp ) : void
emp Employee
return void

Insert() public method

public Insert ( string Name, int Age ) : void
Name string
Age int
return void

Update() public method

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

Update() public method

public Update ( int ID, string Name, int Age ) : void
ID int
Name string
Age int
return void