Data services for Audit records
Default constructor
public Void AuditDataServices()
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; }
Finds an Audit with the specified id for the specified tenantId.
public Audit FindById(id, tenantId)
An Audit or null if not found.
Name | Type | Summary |
---|---|---|
id | String | Audit Id. |
tenantId | Int32 | Tenant Id. |
Finds an Audit with the specified id for the specified tenantId.
public Task<Audit> FindByIdAsync(id, tenantId)
An Audit or null if not found.
Name | Type | Summary |
---|---|---|
id | String | Audit Id. |
tenantId | Int32 | Tenant Id. |
Gets the last audit record for the specified source item of the current tenant.
public Audit GetLastAuditBySource(protocol, id, tenantId)
An Audit or null if not found.
Name | Type | Summary |
---|---|---|
protocol | String | Source protocol to look for. |
id | String | Source id to look for. |
tenantId | Int32 | Tenant Id. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when protocol is null or empty. -or- When id is null or empty. |