C# 클래스 TrainNotifier.Service.TiplocRepository

상속: DbRepository
파일 보기 프로젝트 열기: blueghostuk/trainnotifier-server 1 사용 예제들

공개 메소드들

메소드 설명
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