You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
436B

  1. using CartWise.Domain.Entities;
  2. using Microsoft.EntityFrameworkCore;
  3. namespace CartWise.Application.Interfaces;
  4. public interface IApplicationDbContext
  5. {
  6. DbSet<Household> Households { get; }
  7. DbSet<HouseholdMember> HouseholdMembers { get; }
  8. DbSet<ShoppingList> ShoppingLists { get; }
  9. DbSet<ShoppingListItem> ShoppingListItems { get; }
  10. Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
  11. }

Powered by TurnKey Linux.