Owneat Technical Guide main Help

Interface ITableRepository

Namespace: Ordering.Domain.Aggregates.TableAggregate.Contracts
Assembly: Ordering.Domain.dll

Table repository interface, deliver all custom methods signature for Ordering.Domain.Aggregates.TableAggregate.Table.

public interface ITableRepository : IRepository<Table>

Implements

IRepository<Table\>

Methods

GetAsync\(Expression<Func<Table, bool\>\>\)

Task<Table?> GetAsync(Expression<Func<Table, bool>> expression)

Parameters

expression Expression < Func < Table, bool \>\>

Returns

Task < Table ?\>

GetByGuidListAsync\(IEnumerable<Guid\>\)

Task<IEnumerable<Table>> GetByGuidListAsync(IEnumerable<Guid> tableIds)

Parameters

tableIds IEnumerable < Guid \>

Returns

Task < IEnumerable < Table \>\>

GetByRestaurantIdAsync\(Guid\)

Task<IEnumerable<Table>> GetByRestaurantIdAsync(Guid restaurantId)

Parameters

restaurantId Guid

Returns

Task < IEnumerable < Table \>\>

GetHighestSortingIndexTableAsync\(Guid\)

Task<Table?> GetHighestSortingIndexTableAsync(Guid restaurantId)

Parameters

restaurantId Guid

Returns

Task < Table ?\>

GetListAsync\(Expression<Func<Table, bool\>\>\)

Task<IEnumerable<Table>> GetListAsync(Expression<Func<Table, bool>> expression)

Parameters

expression Expression < Func < Table, bool \>\>

Returns

Task < IEnumerable < Table \>\>

Last modified: 21 May 2024