This commit is contained in:
2020-01-21 19:02:06 +00:00
parent 6f3fd64c62
commit 2e6fc03956
4 changed files with 110 additions and 54 deletions

View File

@@ -0,0 +1,58 @@
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using AyaNova.Biz;
namespace AyaNova.DataList
{
/// <summary>
/// DataList object base class
/// </summary>
internal abstract class AyaDataList : IAyaDataList
{
internal AyaDataList()
{
}
// private string _listKey = string.Empty;
// public string ListKey
// {
// get
// {
// return _listKey;
// }
// set
// {
// _listKey = value;
// }
// }
//private readonly string _sqlFrom = string.Empty;
public string SQLFrom { get; set; }
// private readonly List<AyaDataListFieldDefinition> _fieldDefinitions = new List<AyaDataListFieldDefinition>();
public List<AyaDataListFieldDefinition> FieldDefinitions { get; set; }
public AuthorizationRoles AllowedRoles { get; set; }
public AyaType DefaultListObjectType { get; set; }
public string ListKey { get; set; }
public string GenerateMINIListColumnsJSON()
{
throw new System.NotImplementedException();
}
public string GenerateListColumnsJSONFromTemplate(string template)
{
throw new System.NotImplementedException();
}
}//eoc
}//eons