This commit is contained in:
2021-09-06 20:10:13 +00:00
parent 5c325dbe64
commit 5b0708eadc
4 changed files with 14 additions and 4 deletions

View File

@@ -42,6 +42,9 @@ namespace AyaNova.DataList
//CLIENT / SERVER - client display and to indicate what object to open , Server for formatting return object
public int AType { get; set; }
//CLIENT - indicates client must translate the values in this column (typically computed columns based on aygetname procedure)
public bool Translate { get; set; }
//SERVER - for building sql queries
//don't return these properties when api user fetches field list definitions in DataListController
[JsonIgnore]
@@ -62,6 +65,7 @@ namespace AyaNova.DataList
IsSortable = true;
IsRowId = false;
IsMeta = false;
Translate=false;
//Set openable object type to no type which is the default and means it's not a link to another object
AType = (int)AyaType.NoType;
SqlATypeColumnName = null;//must be null as that is checked against specifically