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:
@@ -6,9 +6,9 @@ namespace AyaNova.DataList
|
||||
{
|
||||
public TaxCodeDataList()
|
||||
{
|
||||
DefaultListObjectType = AyaType.TaxCode;
|
||||
DefaultListAType = AyaType.TaxCode;
|
||||
SQLFrom = "from ataxcode";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "Name", "TaxCodeTaxA", "TaxCodeTaxB", "TaxCodeTaxOnTax", "Active" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "Name", "+" } };
|
||||
@@ -18,7 +18,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "Name",
|
||||
FieldKey = "Name",
|
||||
AyaObjectType = (int)AyaType.TaxCode,
|
||||
AType = (int)AyaType.TaxCode,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "ataxcode.id",
|
||||
SqlValueColumnName = "ataxcode.name",
|
||||
|
||||
Reference in New Issue
Block a user