rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas
This commit is contained in:
@@ -36,7 +36,7 @@ namespace AyaNova.DataList
|
||||
public bool IsRowId { get; set; }
|
||||
|
||||
//CLIENT / SERVER - client display and to indicate what object to open , Server for formatting return object
|
||||
public int AyaObjectType { get; set; }
|
||||
public int AType { get; set; }
|
||||
|
||||
//SERVER - for building sql queries
|
||||
//don't return these properties when api user fetches field list definitions in DataListController
|
||||
@@ -45,7 +45,7 @@ namespace AyaNova.DataList
|
||||
[JsonIgnore]
|
||||
public string SqlValueColumnName { get; set; }
|
||||
[JsonIgnore]
|
||||
public string SqlAyTypeColumnName { get; set; }//column to fetch the AyaType openabel for this field to set it dynamically instead of preset
|
||||
public string SqlATypeColumnName { get; set; }//column to fetch the AyaType openabel for this field to set it dynamically instead of preset
|
||||
[JsonIgnore]
|
||||
public string SqlColorColumnName { get; set; }//column to fetch the color if applicable to this field
|
||||
|
||||
@@ -58,8 +58,8 @@ namespace AyaNova.DataList
|
||||
IsRowId = false;
|
||||
IsMeta = 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;
|
||||
SqlAyTypeColumnName = null;//must be null as that is checked against specifically
|
||||
AType = (int)AyaType.NoType;
|
||||
SqlATypeColumnName = null;//must be null as that is checked against specifically
|
||||
SqlColorColumnName = null;//must be null to be ignored properly
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user