I have a class for users :
public class users
{
public int UserId { get; set; }
public string UserName { get; set; }
// ....
}
I want to create a table called users. I write this line in AppDbContext.cs:
public Dbset<users> Users { get; set; }
it works correctly.
But when I add this line after the previous one:
public Dbset<users> UserChanges { get; set; }
no change happened in the migration file.
How I can have both users and userchanges tables in database, generated by EF Core with a code-first approach?