Data service for audit records
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.
Default constructor
public Void AuditDataService()
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.
public Audit FindById(id)
An Audit or null if not found.
Name | Type | Summary |
---|---|---|
id | Int32 | Audit Id. |
Finds an Audit with the specified id.
public Task FindByIdAsync(id)
An Audit or null if not found.
Name | Type | Summary |
---|---|---|
id | Int32 | Audit Id. |
In this document