0
manojreddy created
Trying to extend Edition, but its generating empty migration.
public class Class1 : Edition
{
public virtual long Price { get; set; }
}
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
Have you added DbSet property of your entity in DbContext?
public virtual DbSet<Class1> Class1 { get; set; }Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
@yekalkan, Thanks I already solved my issue. This fix has to be mentioned in the document. Otherwise, everybody will face issues.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
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>
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)