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>.GroupByAsync(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, GenericRepository<Report>.NoTracking, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ReportRepository(BabelDbContext)
Constructor.
Parameters
The context.
Methods
Delete(IEnumerable<int>)
Deletes the given reportIds.
Parameters
The report Identifiers to delete.
GetReportAsync(int)
Gets report asynchronous.
Parameters
Identifier for the report.
Returns
An asynchronous result that yields the report.
GetReportCountersAsync(int)
Gets report counters asynchronous.
Parameters
Identifier for the report.
Returns
An asynchronous result that yields the report counters.
GetReportsAsync(string, DateTime?, DateTime?, int?, int?, string, string)
Gets reports asynchronous.
Parameters
The name.
The start.
The end.
The skip.
The take.
The include.
The sort.
Returns
An asynchronous result that yields the reports.
GetReportsCountAsync(DateTime, DateTime)
Gets reports count asynchronous.
Parameters
The start.
The end.
Returns
An asynchronous result that yields the reports count.
GetReportsCountAsync(string, DateTime?, DateTime?)
Gets reports count asynchronous.
Parameters
The name.
The start.
The end.
Returns
An asynchronous result that yields the reports count.
GetReportsSummaryAsync(DateTime, DateTime)
Gets reports summary asynchronous.
Parameters
The start date.
The end date.
Returns
An asynchronous result that yields the reports summary.
Last updated