C# Class TrainNotifier.Service.DataArchiveRepository

Inheritance: DbRepository
Mostrar archivo Open project: blueghostuk/trainnotifier-server Class Usage Examples

Public Methods

Method Description
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

Method Details

ArchiveTrainMovement() public method

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

CleanAssociations() public method

public CleanAssociations ( System.DateTime olderThan ) : void
olderThan System.DateTime
return void

CleanPPMRecords() public method

public CleanPPMRecords ( System.DateTime olderThan ) : void
olderThan System.DateTime
return void

CleanSchedules() public method

public CleanSchedules ( System.DateTime olderThan ) : void
olderThan System.DateTime
return void

DataArchiveRepository() public method

public DataArchiveRepository ( ) : System
return System

GetTrainMovements() public method

public GetTrainMovements ( System.Guid trainId ) : IEnumerable
trainId System.Guid
return IEnumerable

GetTrainsToArchive() public method

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

UpdateIndexes() public method

public UpdateIndexes ( ) : void
return void