Base solution for your next web application
Open Closed

Problem with EF - generated migrations are empty #2758


User avatar
0
bilalhaidar created

Hi,

I added few new classes designated with Table() attribute and virtual properties. Also, I've added those properties under the DbContext.

I've been trying to add migrations, but still the migration files are being empty for Up() and Down()

What else I should look at?

It's the first time I face this issue.

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you share one of your entity definition ?

    Thanks.