I can only think of two things, but
The first is DbContext's OnModelCreating method.
You may have a code similar to .
This takes precedence, so you need to delete the ToTable.
Second, you may be using the wrong Table attribute on Hoge.cs.
Do you use ↑ as the table attribute?
© 2022 OneMinuteCode. All rights reserved.