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:
2021-03-23 17:06:05 +00:00
parent dfef3f7934
commit dde1b8bb8c
113 changed files with 450 additions and 450 deletions

View File

@@ -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
}