This commit is contained in:
2020-04-15 22:59:49 +00:00
parent 464cab837e
commit a6737df4f0
9 changed files with 68 additions and 48 deletions

View File

@@ -21,8 +21,7 @@ namespace AyaNova.Models
public virtual DbSet<DataListView> DataListView { get; set; }
public virtual DbSet<Tag> Tag { get; set; }
public virtual DbSet<FormCustom> FormCustom { get; set; }
public virtual DbSet<PickListTemplate> PickListTemplate { get; set; }
public virtual DbSet<WikiPage> WikiPage { get; set; }
public virtual DbSet<PickListTemplate> PickListTemplate { 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

View File

@@ -35,6 +35,7 @@ namespace AyaNova.Models
public long? CustomerId { get; set; }
public long? HeadOfficeId { get; set; }
public long? SubVendorId { get; set; }
public string WikiContent { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -24,6 +24,7 @@ namespace AyaNova.Models
public DateTime? EndDate { get; set; }
public string Notes { get; set; }
public int? Count { get; set; }
public string WikiContent {get;set;}
public string CustomFields { get; set; }
public List<string> Tags { get; set; }
//relations

View File

@@ -1,22 +0,0 @@
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models
{
public partial class WikiPage
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
//-----------------------------------------
[Required]
public long ObjectId { get; set; }
[Required]
public AyaType ObjectType { get; set; }//int
public string Content { get; set; }
}
}