ILicenseTraceRepository
Namespace: Babel.Data Assembly: Babel.Data.dll
Interface for license trace repository.
Implements
IGenericRepository<LicenseTrace>
Methods
CountAsync(int?, string, CancellationToken)
Asynchronously returns the number of license traces in the repository for a given license.
Parameters
licenseId
int?
(Optional) The ID of the license to count traces for.
filter
string
(Optional) Specifies the string filter.
cancellationToken
CancellationToken
(Optional) A token that allows processing to be cancelled.
Returns
Delete(IEnumerable<int>)
Deletes a list of license traces with the given primary key values.
Parameters
licenseTracesIds
IEnumerable<int>
The license trace primary key ids to delete.
QueryAsync(int?, string, string, string, string, int?, int?, CancellationToken)
Asynchronously queries a list of LicenseTrace objects for a given license from this repository.
Parameters
licenseId
int?
(Optional) The ID of the license to retrieve traces for.
select
string
(Optional) Specifies a select expression.
filter
string
(Optional) Specifies the filter expression.
orderBy
string
(Optional) Order by expression.
includeProperties
string
(Optional) A comma separated list of nested entity names to retrieve.
skip
int?
(Optional) The number of records to skip before the first record found.
take
int?
(Optional) The number of records to take after the first record found.
cancellationToken
CancellationToken
(Optional) A token that allows processing to be cancelled.
Returns
A task that represents the asynchronous get operation, containing a list of LicenseTrace objects.
Last updated