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

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

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

Метод Описание
Get ( ) : IEnumerable
GetAllByCRSCode ( string crsCode ) : IEnumerable
GetAllByStanox ( string stanox ) : IEnumerable

There can be more than one location per stanox

GetByLocation ( double lat, double lon, int limit ) : IEnumerable
GetByStationName ( string stationName ) : StationTiploc
GetTiplocByStanox ( string stanox ) : TiplocCode
GetTiplocs ( ) : IEnumerable
GetTiplocsByStanox ( string stanox ) : IEnumerable
InsertTiploc ( string tiploc ) : short
InsertTiploc ( TiplocCode tiploc ) : void
PreloadCache ( ) : void

Приватные методы

Метод Описание
AddToCache ( string stanox, IEnumerable tiplocs ) : void
GetByCRSCode ( string crsCode ) : StationTiploc
GetByStanox ( string stanox ) : StationTiploc

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

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

public Get ( ) : IEnumerable
Результат IEnumerable

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

public GetAllByCRSCode ( string crsCode ) : IEnumerable
crsCode string
Результат IEnumerable

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

There can be more than one location per stanox
public GetAllByStanox ( string stanox ) : IEnumerable
stanox string
Результат IEnumerable

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

public GetByLocation ( double lat, double lon, int limit ) : IEnumerable
lat double
lon double
limit int
Результат IEnumerable

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

public GetByStationName ( string stationName ) : StationTiploc
stationName string
Результат StationTiploc

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

public GetTiplocByStanox ( string stanox ) : TiplocCode
stanox string
Результат TiplocCode

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

public GetTiplocs ( ) : IEnumerable
Результат IEnumerable

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

public GetTiplocsByStanox ( string stanox ) : IEnumerable
stanox string
Результат IEnumerable

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

public InsertTiploc ( string tiploc ) : short
tiploc string
Результат short

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

public InsertTiploc ( TiplocCode tiploc ) : void
tiploc TiplocCode
Результат void

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

public PreloadCache ( ) : void
Результат void