LISTS WORKING cleanup afterwords

This commit is contained in:
2021-02-08 20:10:28 +00:00
parent 4a7f9f06ca
commit 658b345378
48 changed files with 50 additions and 2586 deletions

View File

@@ -1,10 +1,8 @@
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace AyaNova.DataList
{
//This class defines a field used for returning data in list format for UI grid lists and reporting
public class DataListFieldDefinition
{
@@ -51,12 +49,9 @@ namespace AyaNova.DataList
[JsonIgnore]
public string SqlColorColumnName { get; set; }//column to fetch the color if applicable to this field
public DataListFieldDefinition()
{
//most common defaults
IsCustomField = false;
IsFilterable = true;
IsSortable = true;
@@ -66,7 +61,6 @@ namespace AyaNova.DataList
AyaObjectType = (int)AyaType.NoType;
SqlAyTypeColumnName = null;//must be null as that is checked against specifically
SqlColorColumnName = null;//must be null to be ignored properly
}
//Get column to query for display name or use FieldName if there is no difference