成功写入Uesrs数据库表

This commit is contained in:
2025-07-07 18:41:36 +08:00
parent a3996dad99
commit 547142730e
17 changed files with 170 additions and 59 deletions

View File

@ -0,0 +1,10 @@
using Microsoft.EntityFrameworkCore;
using WorkStation.Server.Context.Entity;
namespace WorkStation.Server.Context
{
public class MyDbContext(DbContextOptions<MyDbContext> options) : DbContext(options)
{
public DbSet<User> Users { get; set; }
}
}