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:
@@ -8,9 +8,9 @@ namespace AyaNova.DataList
|
||||
public MemoDataList()
|
||||
{
|
||||
|
||||
DefaultListObjectType = AyaType.Memo;
|
||||
DefaultListAType = AyaType.Memo;
|
||||
SQLFrom = "from amemo left join auser on (amemo.fromid=auser.id)";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "MemoSubject", "MemoFromID", "MemoSent", "MemoViewed" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "MemoSent", "-" } };
|
||||
@@ -20,7 +20,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "MemoSubject",
|
||||
FieldKey = "MemoSubject",
|
||||
AyaObjectType = (int)AyaType.Memo,
|
||||
AType = (int)AyaType.Memo,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "amemo.id",
|
||||
SqlValueColumnName = "amemo.name",
|
||||
@@ -39,7 +39,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "MemoFromID",
|
||||
FieldKey = "MemoFromID",
|
||||
AyaObjectType = (int)AyaType.User,
|
||||
AType = (int)AyaType.User,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "auser.id",
|
||||
SqlValueColumnName = "auser.name",
|
||||
|
||||
Reference in New Issue
Block a user