This commit is contained in:
2020-08-07 19:11:38 +00:00
parent 7cd6c22990
commit c3eb8d95a2
4 changed files with 39 additions and 3 deletions

View File

@@ -68,6 +68,8 @@ namespace AyaNova.Models
public virtual DbSet<WorkOrderTemplateItem> WorkOrderTemplateItem { get; set; }
public virtual DbSet<Logo> Logo { get; set; }
//Note: had to add this constructor to work with the code in startup.cs that gets the connection string from the appsettings.json file
//and commented out the above on configuring
public AyContext(DbContextOptions<AyContext> options) : base(options)