This commit is contained in:
@@ -21,6 +21,7 @@ namespace AyaNova.Models
|
||||
public virtual DbSet<Locale> Locale { get; set; }
|
||||
public virtual DbSet<LocaleItem> LocaleItem { get; set; }
|
||||
public virtual DbSet<DataFilter> DataFilter { get; set; }
|
||||
public virtual DbSet<Tag> Tag { 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
|
||||
|
||||
21
server/AyaNova/models/Tag.cs
Normal file
21
server/AyaNova/models/Tag.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
public partial class Tag
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
[Required, MaxLength(255)]
|
||||
public string Name { get; set; }//max 255 characters
|
||||
|
||||
public long RefCount { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user