| 1234567891011121314151617181920212223 |
- using DutchTreat.Data.Entities;
- using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.Extensions.Configuration;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DutchTreat.Data
- {
- public class DutchContext : IdentityDbContext<StoreUser>
- {
- public DutchContext(DbContextOptions<DutchContext> options) : base(options)
- {
- }
- public DbSet<Product> Products { get; set; }
- public DbSet<Order> Orders { get; set; }
- }
- }
|