How to Specify Entity Framework Core Table Mapping?
问题 I've made a simple Entity Framework ASP Core Application which works but I do not know why: I've made a context like this: public class AstootContext : DbContext { public AstootContext(DbContextOptions<AstootContext> options) : base(options) { } public DbSet<Account> Accounts { get; set; } public DbSet<User> Users { get; set; } } And I have two tables with models like this: public class Account { public int Id { get; set; } public string Username { get; set; } public string PasswordHash { get