C# 클래스 TrainNotifier.Service.DataArchiveRepository

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

공개 메소드들

메소드 설명
ArchiveTrainMovement ( ArchiveTrain train, IEnumerable trainMovements, string directoryPath ) : void
CleanAssociations ( System.DateTime olderThan ) : void
CleanPPMRecords ( System.DateTime olderThan ) : void
CleanSchedules ( System.DateTime olderThan ) : void
DataArchiveRepository ( ) : System
GetTrainMovements ( System.Guid trainId ) : IEnumerable
GetTrainsToArchive ( System.DateTime olderThan, uint limit = 10 ) : IEnumerable
UpdateIndexes ( ) : void

메소드 상세

ArchiveTrainMovement() 공개 메소드

public ArchiveTrainMovement ( ArchiveTrain train, IEnumerable trainMovements, string directoryPath ) : void
train ArchiveTrain
trainMovements IEnumerable
directoryPath string
리턴 void

CleanAssociations() 공개 메소드

public CleanAssociations ( System.DateTime olderThan ) : void
olderThan System.DateTime
리턴 void

CleanPPMRecords() 공개 메소드

public CleanPPMRecords ( System.DateTime olderThan ) : void
olderThan System.DateTime
리턴 void

CleanSchedules() 공개 메소드

public CleanSchedules ( System.DateTime olderThan ) : void
olderThan System.DateTime
리턴 void

DataArchiveRepository() 공개 메소드

public DataArchiveRepository ( ) : System
리턴 System

GetTrainMovements() 공개 메소드

public GetTrainMovements ( System.Guid trainId ) : IEnumerable
trainId System.Guid
리턴 IEnumerable

GetTrainsToArchive() 공개 메소드

public GetTrainsToArchive ( System.DateTime olderThan, uint limit = 10 ) : IEnumerable
olderThan System.DateTime
limit uint
리턴 IEnumerable

UpdateIndexes() 공개 메소드

public UpdateIndexes ( ) : void
리턴 void