Data services for audit incidents.
Default constructor
public Void AuditIncidentDataService()
This service does not have any configuration for the required services for it to work.
All required services the CommandBuilder and the DataModelCommandBuilder must be configured by a DataServiceOptions<AuditDataService> configuration within the dependency injection service collection.
Gets an alias for the underlaying table.
public String Alias { get; set; }
A collection of table field definition.
public IDictionary<String, Field> Fields { get; set; }
Gets the table name.
public String Table { get; set; }
Count audit incidents.
public Task CountSecurityIncidentsAsync(openedOnly)
Quantity of incidents.
Name | Type | Summary |
---|---|---|
openedOnly | Boolean | true if only opened incidents must be count otherwise false. |
Finds a AuditIncident with the specified id.
public AuditIncident FindById(id)
A AuditIncident or null if not found.
Name | Type | Summary |
---|---|---|
id | Int32 | Audit incident Id |
Finds a AuditIncident with the specified id
public Task FindByIdAsync(id)
A AuditIncident or null if not found.
Name | Type | Summary |
---|---|---|
id | Int32 | Audit incident Id |