C# Class TrainNotifier.Service.PPMDataRepository

Inheritance: DbRepository
Mostrar archivo Open project: blueghostuk/trainnotifier-server Class Usage Examples

Public Methods

Method Description
AddPPMData ( PPMRecord record ) : void
GetLatestRecord ( byte operatorCode, string name ) : PPMRecord
GetLatestRecords ( byte operatorCode, string name, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
GetSectors ( byte operatorCode = null ) : IEnumerable

Method Details

AddPPMData() public method

public AddPPMData ( PPMRecord record ) : void
record TrainNotifier.Common.Model.PPM.PPMRecord
return void

GetLatestRecord() public method

public GetLatestRecord ( byte operatorCode, string name ) : PPMRecord
operatorCode byte
name string
return TrainNotifier.Common.Model.PPM.PPMRecord

GetLatestRecords() public method

public GetLatestRecords ( byte operatorCode, string name, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
operatorCode byte
name string
startDate System.DateTime
endDate System.DateTime
return IEnumerable

GetSectors() public method

public GetSectors ( byte operatorCode = null ) : IEnumerable
operatorCode byte
return IEnumerable