C# Класс TrainNotifier.Service.PPMDataRepository

Наследование: DbRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddPPMData() публичный Метод

public AddPPMData ( PPMRecord record ) : void
record TrainNotifier.Common.Model.PPM.PPMRecord
Результат void

GetLatestRecord() публичный Метод

public GetLatestRecord ( byte operatorCode, string name ) : PPMRecord
operatorCode byte
name string
Результат TrainNotifier.Common.Model.PPM.PPMRecord

GetLatestRecords() публичный Метод

public GetLatestRecords ( byte operatorCode, string name, System.DateTime startDate, System.DateTime endDate ) : IEnumerable
operatorCode byte
name string
startDate System.DateTime
endDate System.DateTime
Результат IEnumerable

GetSectors() публичный Метод

public GetSectors ( byte operatorCode = null ) : IEnumerable
operatorCode byte
Результат IEnumerable