C# Class TrainNotifier.Service.PPMDataRepository

Inheritance: DbRepository
Afficher le fichier Open project: blueghostuk/trainnotifier-server Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AddPPMData ( PPMRecord record ) : void
record TrainNotifier.Common.Model.PPM.PPMRecord
Résultat void

GetLatestRecord() public méthode

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

GetLatestRecords() public méthode

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

GetSectors() public méthode

public GetSectors ( byte operatorCode = null ) : IEnumerable
operatorCode byte
Résultat IEnumerable