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 TranslationDataList()
|
||||
{
|
||||
DefaultListObjectType = AyaType.Translation;
|
||||
DefaultListAType = AyaType.Translation;
|
||||
SQLFrom = "from atranslation";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "name", "stock", "cjkindex" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "name", "+" } };
|
||||
@@ -18,7 +18,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "Translation",
|
||||
FieldKey = "name",
|
||||
AyaObjectType = (int)AyaType.Translation,
|
||||
AType = (int)AyaType.Translation,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "atranslation.id",
|
||||
SqlValueColumnName = "atranslation.name",
|
||||
|
||||
Reference in New Issue
Block a user