C# Class TrainNotifier.Service.TiplocRepository

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

Méthodes publiques

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

Private Methods

Méthode Description
AddToCache ( string stanox, IEnumerable tiplocs ) : void
GetByCRSCode ( string crsCode ) : StationTiploc
GetByStanox ( string stanox ) : StationTiploc

Method Details

Get() public méthode

public Get ( ) : IEnumerable
Résultat IEnumerable

GetAllByCRSCode() public méthode

public GetAllByCRSCode ( string crsCode ) : IEnumerable
crsCode string
Résultat IEnumerable

GetAllByStanox() public méthode

There can be more than one location per stanox
public GetAllByStanox ( string stanox ) : IEnumerable
stanox string
Résultat IEnumerable

GetByLocation() public méthode

public GetByLocation ( double lat, double lon, int limit ) : IEnumerable
lat double
lon double
limit int
Résultat IEnumerable

GetByStationName() public méthode

public GetByStationName ( string stationName ) : StationTiploc
stationName string
Résultat StationTiploc

GetTiplocByStanox() public méthode

public GetTiplocByStanox ( string stanox ) : TiplocCode
stanox string
Résultat TiplocCode

GetTiplocs() public méthode

public GetTiplocs ( ) : IEnumerable
Résultat IEnumerable

GetTiplocsByStanox() public méthode

public GetTiplocsByStanox ( string stanox ) : IEnumerable
stanox string
Résultat IEnumerable

InsertTiploc() public méthode

public InsertTiploc ( string tiploc ) : short
tiploc string
Résultat short

InsertTiploc() public méthode

public InsertTiploc ( TiplocCode tiploc ) : void
tiploc TiplocCode
Résultat void

PreloadCache() public méthode

public PreloadCache ( ) : void
Résultat void