This commit is contained in:
2021-07-20 19:52:18 +00:00
parent 89e3e96320
commit 87b7eee335
6 changed files with 50 additions and 18 deletions

View File

@@ -53,6 +53,9 @@ namespace AyaNova.DataList
[JsonIgnore]
public string SqlColorColumnName { get; set; }//column to fetch the color if applicable to this field
[JsonIgnore]
public string SqlColumnExpression { get; set; }//column is based on this expression, not directly on the source tables
public DataListFieldDefinition()
{
//most common defaults
@@ -65,6 +68,7 @@ namespace AyaNova.DataList
AType = (int)AyaType.NoType;
SqlATypeColumnName = null;//must be null as that is checked against specifically
SqlColorColumnName = null;//must be null to be ignored properly
SqlColumnExpression = null;
}
//Get column to query for display name or use FieldName if there is no difference