This commit is contained in:
2020-03-13 21:18:59 +00:00
parent 6c2370b053
commit 73ccf1c359
4 changed files with 66 additions and 32 deletions

View File

@@ -27,23 +27,23 @@ namespace AyaNova.PickList
//CLIENT / SERVER - client display server validation purposes
public bool IsSortable { get; set; }
//CLIENT Use only for display
public int UiFieldDataType { get; set; }
//PL Used for casting query
public UiFieldDataType ColumnDataType { get; set; }
//CLIENT Use only for display
public string EnumType { get; set; }
//SERVER / CLIENT - used to identify the column that represents the entire row ID and object
//MUST be present in all datalists and displayed at the client
//PL Used
public bool IsRowId { get; set; }
public bool IsActiveColumn { get; set; }
//PL Used
public bool IsActiveColumn { get; set; }
//CLIENT / SERVER - client display and to indicate what object to open , Server for formatting return object
public int AyaObjectType { get; set; }
//SERVER - for building sql queries
//don't return these properties when api user fetches field list definitions in DataListController
public AyaType AyaObjectType { get; set; }
//PL Used
[JsonIgnore]
public string SqlIdColumnName { get; set; }
[JsonIgnore]
@@ -61,7 +61,7 @@ namespace AyaNova.PickList
IsFilterable = true;
IsSortable = true;
IsRowId = false;
IsActiveColumn=false;
IsActiveColumn = false;
//Set openable object type to no type which is the default and means it's not a link to another object
AyaObjectType = (int)AyaType.NoType;