This commit is contained in:
2020-02-13 20:22:42 +00:00
parent 958b9c5032
commit 5aacb87a93
11 changed files with 9 additions and 352 deletions

View File

@@ -20,7 +20,7 @@ namespace AyaNova.Models
public virtual DbSet<DataListSortFilter> DataListSortFilter { get; set; }
public virtual DbSet<Tag> Tag { get; set; }
public virtual DbSet<FormCustom> FormCustom { get; set; }
public virtual DbSet<DataListTemplate> DataListTemplate { 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

View File

@@ -1,16 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
public partial class DataListTemplate
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
[Required]
public string DataListKey { get; set; }
public string Template { get; set; }//JSON fragment template
}
}