ReportRepository
Namespace: Babel.Data Assembly: Babel.Data.dll
A report repository.
Inheritance
object ← GenericRepository<Report> ← ReportRepository
Implements
IReportRepository, IGenericRepository<Report>
Inherited Members
GenericRepository<Report>.Get(Expression<Func<Report, bool>>, Func<IQueryable<Report>, IOrderedQueryable<Report>>, string, string, int?, int?), GenericRepository<Report>.GetAsync(Expression<Func<Report, bool>>, Func<IQueryable<Report>, IOrderedQueryable<Report>>, string, string, int?, int?, CancellationToken), GenericRepository<Report>.QueryAsync(string, string, string, string, int?, int?, CancellationToken), GenericRepository<Report>.GetById(params object[]), GenericRepository<Report>.GetByIdAsync(params object[]), GenericRepository<Report>.GetByIdAsync(object[], CancellationToken), GenericRepository<Report>.CountAsync(Expression<Func<Report, bool>>, CancellationToken), GenericRepository<Report>.CountAsync(string, CancellationToken), GenericRepository<Report>.Insert(Report), GenericRepository<Report>.InsertAsync(Report, CancellationToken), GenericRepository<Report>.Update(Report), GenericRepository<Report>.Delete(params object[]), GenericRepository<Report>.Delete(Report), GenericRepository<Report>.Save(), GenericRepository<Report>.SaveAsync(CancellationToken), GenericRepository<Report>.DbSet, GenericRepository<Report>.Context, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ReportRepository(BabelDbContext)
Constructor.
Parameters
Name | Description |
---|---|
| The context. |
Methods
Delete(IEnumerable<int>)
Deletes the given reportIds.
Parameters
Name | Description |
---|---|
| The report Identifiers to delete. |
GetReportAsync(int)
Gets report asynchronous.
Parameters
Name | Description |
---|---|
| Identifier for the report. |
Returns
GetReportCountersAsync(int)
Gets report counters asynchronous.
Parameters
Name | Description |
---|---|
| Identifier for the report. |
Returns
Name | Description |
---|---|
An asynchronous result that yields the report counters. |
GetReportsAsync(string, DateTime?, DateTime?, int?, int?, string, string)
Gets reports asynchronous.
Parameters
Name | Description |
---|---|
| The name. |
| The start. |
| The end. |
| The skip. |
| The take. |
| The include. |
| The sort. |
Returns
GetReportsCountAsync(DateTime, DateTime)
Gets reports count asynchronous.
Parameters
Returns
GetReportsCountAsync(string, DateTime?, DateTime?)
Gets reports count asynchronous.
Parameters
Returns
GetReportsSummaryAsync(DateTime, DateTime)
Gets reports summary asynchronous.
Parameters
Returns
Name | Description |
---|---|
An asynchronous result that yields the reports summary. |
Last updated