C# Class ViewModels.EmployeeModel

Exibir arquivo Open project: dsuryd/dotNetify Class Usage Examples

Protected Properties

Property Type Description
_employeeRecords List
_newId int
_numRecords int?

Public Methods

Method Description
AddRecord ( EmployeeRecord &record ) : void
EmployeeModel ( int numRecords = null ) : System.Collections.Generic
GetAllRecords ( ) : List
GetRecord ( int id ) : EmployeeRecord
RemoveRecord ( int id ) : void
UpdateRecord ( EmployeeRecord record ) : void

Method Details

AddRecord() public method

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

EmployeeModel() public method

public EmployeeModel ( int numRecords = null ) : System.Collections.Generic
numRecords int
return System.Collections.Generic

GetAllRecords() public method

public GetAllRecords ( ) : List
return List

GetRecord() public method

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

RemoveRecord() public method

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

UpdateRecord() public method

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

Property Details

_employeeRecords protected_oe property

protected List _employeeRecords
return List

_newId protected_oe property

protected int _newId
return int

_numRecords protected_oe property

protected int? _numRecords
return int?