Data services for security incidents.
Default constructor
public Void SecurityIncidentDataServices()
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 security incidents.
public Task<Int32> CountSecurityIncidentsAsync(tenantId, openedOnly)
Quantity of incidents.
Name | Type | Summary |
---|---|---|
tenantId | Int32 | Tenant Id. |
openedOnly | Boolean | true if only opened incidents must be count otherwise false. |
Finds a SecurityIncident with the specified id for the specified tenantId.
public SecurityIncident FindById(id, tenantId)
A SecurityIncident or null if not found.
Name | Type | Summary |
---|---|---|
id | String | Security incident Id |
tenantId | Int32 | Tenant Id. |
Finds a SecurityIncident with the specified id for the specified tenantId.
public Task<SecurityIncident> FindByIdAsync(id, tenantId)
A SecurityIncident or null if not found.
Name | Type | Summary |
---|---|---|
id | String | Security incident Id |
tenantId | Int32 | Tenant Id. |