0
manojreddy created
Trying to extend Edition, but its generating empty migration.
public class Class1 : Edition
{
public virtual long Price { get; set; }
}
3 Answer(s)
-
0
Have you added DbSet property of your entity in DbContext?
public virtual DbSet<Class1> Class1 { get; set; }
-
0
@yekalkan, Thanks I already solved my issue. This fix has to be mentioned in the document. Otherwise, everybody will face issues.
-
0
I also realized that and created a pull request yesterday <a class="postlink" href="https://github.com/aspnetzero/documents/pull/72">https://github.com/aspnetzero/documents/pull/72</a>