How to add a new table with EF core

asp.net-core database entity-framework-core

Accepted Answer

You must include theMatch desk in yourDynamicBettingUserContext a lower class. Then You must include migration utilizingAdd-Migration <YourMigrationName> In order to complete the process, you must runUpdate-Database an order in PMC.

public virtual DbSet<Match> Match { get; set; } 
5
8/29/2018 10:41:07 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow