C# Class ExamplesLibrary.EmployeeModel

Datei anzeigen Open project: dsuryd/dotNetify-Nancy-demo

Public Methods

Method Description
AddRecord ( EmployeeRecord &iRecord ) : void
EmployeeModel ( int NumRecords ) : System.Collections.Generic
GetAllRecords ( ) : List
GetRecord ( int iId ) : EmployeeRecord
RemoveRecord ( int iId ) : void
UpdateRecord ( EmployeeRecord iRecord ) : void

Method Details

AddRecord() public method

public AddRecord ( EmployeeRecord &iRecord ) : void
iRecord EmployeeRecord
return void

EmployeeModel() public method

public EmployeeModel ( int NumRecords ) : System.Collections.Generic
NumRecords int
return System.Collections.Generic

GetAllRecords() public method

public GetAllRecords ( ) : List
return List

GetRecord() public method

public GetRecord ( int iId ) : EmployeeRecord
iId int
return EmployeeRecord

RemoveRecord() public method

public RemoveRecord ( int iId ) : void
iId int
return void

UpdateRecord() public method

public UpdateRecord ( EmployeeRecord iRecord ) : void
iRecord EmployeeRecord
return void