Singletons
Variable data repositories
The following services can be injected currently.
- ArrestReportService
- IncidentReportService
- PedTicketService
- PedWarningService
Events
OnAdded
Invoked when an entity is added.
event EventHandler<LooseDataEntity> OnAdded;OnUpdated
Invoked when an entity is updated.
event EventHandler<LooseDataEntity> OnUpdated;OnDeleted
Invoked when an entity is deleted.
event EventHandler<LooseDataEntity> OnDeleted;Methods
Add
Adds a new entity.
void Add(LooseDataEntity arrestReport);Parameters
arrestReportThe entity to add.
Update
Updates an entity.
void Update(LooseDataEntity arrestReport);Parameters
arrestReportThe entity to update.
Delete
Deletes an entity.
void Delete(LooseDataEntity arrestReport);Parameters
arrestReportThe entity to delete.
Get
Gets an entity by its ID.
void Get(string id);Parameters
GetThe ID of the entity to get.
GetAll
Gets all entities.
void GetAll();