Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

AppDbContext.cs 369B

3 år sedan
3 år sedan
3 år sedan
3 år sedan
1234567891011121314
  1. using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
  2. using Microsoft.EntityFrameworkCore;
  3. using SecureSharing.Data.Data;
  4. namespace SecureSharing.Data.DbContexts;
  5. public sealed class AppDbContext : IdentityDbContext
  6. {
  7. public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
  8. {
  9. }
  10. public DbSet<Message> Messages { get; set; }
  11. }