This commit is contained in:
@@ -44,7 +44,7 @@ namespace Sockeye.Models
|
||||
public virtual DbSet<Logo> Logo { get; set; }
|
||||
public virtual DbSet<Report> Report { get; set; }
|
||||
public virtual DbSet<DashboardView> DashboardView { get; set; }
|
||||
|
||||
|
||||
|
||||
public virtual DbSet<CustomerNotifySubscription> CustomerNotifySubscription { get; set; }
|
||||
public virtual DbSet<CustomerNotifyEvent> CustomerNotifyEvent { get; set; }
|
||||
@@ -53,10 +53,15 @@ namespace Sockeye.Models
|
||||
|
||||
|
||||
public virtual DbSet<Integration> Integration { get; set; }
|
||||
public virtual DbSet<IntegrationItem> IntegrationItem { get; set; }
|
||||
public virtual DbSet<IntegrationItem> IntegrationItem { get; set; }
|
||||
public virtual DbSet<IntegrationLog> IntegrationLog { get; set; }
|
||||
|
||||
public virtual DbSet<License> License { get; set; }
|
||||
public virtual DbSet<License> License { get; set; }
|
||||
public virtual DbSet<Vendor> Vendor { get; set; }
|
||||
public virtual DbSet<Product> Product { get; set; }
|
||||
public virtual DbSet<Purchase> Purchase { get; set; }
|
||||
public virtual DbSet<TrialLicenseRequest> TrialLicenseRequest { get; set; }
|
||||
public virtual DbSet<GZCase> GZCase { 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
|
||||
@@ -115,8 +120,8 @@ namespace Sockeye.Models
|
||||
///////////////////////////////
|
||||
//SERIALIZED OBJECTS
|
||||
//
|
||||
|
||||
modelBuilder.Entity<Case>().Property(z => z.CaseId).UseIdentityByDefaultColumn();
|
||||
|
||||
modelBuilder.Entity<GZCase>().Property(z => z.CaseId).UseIdentityByDefaultColumn();
|
||||
//## NOTE: if more added here then must also update globalbizsettingscontroller.seeds and client
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user