Changeset 9a57e89 for iknow-api/Data/AppDbContext.cs
- Timestamp:
- 10/21/25 17:21:47 (11 months ago)
- Branches:
- master
- Children:
- d025ba3
- Parents:
- 2859225
- File:
-
- 1 edited
-
iknow-api/Data/AppDbContext.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Data/AppDbContext.cs
r2859225 r9a57e89 1 1 using Microsoft.EntityFrameworkCore; 2 using iknow_api. Models;2 using iknow_api.Core.Models; 3 3 4 public class AppDbContext : DbContext 4 namespace iknow_api.Core.Data 5 5 { 6 public AppDbContext(DbContextOptions<AppDbContext> options) 7 : base(options) { } 6 public class AppDbContext : DbContext 7 { 8 public AppDbContext(DbContextOptions<AppDbContext> options) 9 : base(options) { } 8 10 9 public DbSet<Users> Users { get; set; } 11 public DbSet<User> User { get; set; } 12 } 10 13 }
Note:
See TracChangeset
for help on using the changeset viewer.
