C# Class TrainNotifier.Service.ScheduleRepository

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

Méthodes publiques

Méthode Description
DeleteSchedule ( ScheduleTrain train ) : void
GetScheduleDetails ( string trainUid ) : IEnumerable
GetStopsById ( System.Guid scheduleId ) : IEnumerable

Get stops for a schedule

InsertSchedule ( ScheduleTrain train, ScheduleSource source = ScheduleSource.CIF ) : void
InsertScheduleStops ( System.Guid scheduleId, IEnumerable stops ) : void

Method Details

DeleteSchedule() public méthode

public DeleteSchedule ( ScheduleTrain train ) : void
train TrainNotifier.Common.Model.Schedule.ScheduleTrain
Résultat void

GetScheduleDetails() public méthode

public GetScheduleDetails ( string trainUid ) : IEnumerable
trainUid string
Résultat IEnumerable

GetStopsById() public méthode

Get stops for a schedule
public GetStopsById ( System.Guid scheduleId ) : IEnumerable
scheduleId System.Guid schedule id
Résultat IEnumerable

InsertSchedule() public méthode

public InsertSchedule ( ScheduleTrain train, ScheduleSource source = ScheduleSource.CIF ) : void
train TrainNotifier.Common.Model.Schedule.ScheduleTrain
source ScheduleSource
Résultat void

InsertScheduleStops() public méthode

public InsertScheduleStops ( System.Guid scheduleId, IEnumerable stops ) : void
scheduleId System.Guid
stops IEnumerable
Résultat void