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

@@ -6,9 +6,9 @@ namespace AyaNova.DataList
{
public UnitModelDataList()
{
DefaultListObjectType = AyaType.UnitModel;
DefaultListAType = AyaType.UnitModel;
SQLFrom = "from aunitmodel left join avendor on (aunitmodel.vendorid=avendor.id)";
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "UnitModelModelNumber", "Name", "UnitModelVendorID", "Active" };
DefaultSortBy = new Dictionary<string, string>() { { "UnitModelModelNumber", "+" } };
@@ -18,7 +18,7 @@ namespace AyaNova.DataList
{
TKey = "UnitModelModelNumber",
FieldKey = "UnitModelModelNumber",
AyaObjectType = (int)AyaType.UnitModel,
AType = (int)AyaType.UnitModel,
UiFieldDataType = (int)UiFieldDataType.Text,
SqlIdColumnName = "aunitmodel.id",
SqlValueColumnName = "aunitmodel.number",
@@ -54,7 +54,7 @@ namespace AyaNova.DataList
FieldKey = "UnitModelVendorID",
TKey = "UnitModelVendorID",
UiFieldDataType = (int)UiFieldDataType.Text,
AyaObjectType = (int)AyaType.Vendor,
AType = (int)AyaType.Vendor,
SqlIdColumnName = "avendor.id",
SqlValueColumnName = "avendor.name"
});