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 CustomerNoteDataList()
|
||||
{
|
||||
DefaultListObjectType = AyaType.CustomerNote;
|
||||
DefaultListAType = AyaType.CustomerNote;
|
||||
SQLFrom = "from acustomernote left join auser on (acustomernote.userid=auser.id)";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "notedate", "notes", "username" };
|
||||
DefaultSortBy = new Dictionary<string, string>() { { "notedate", "-" } };
|
||||
@@ -21,7 +21,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "User",
|
||||
FieldKey = "username",
|
||||
AyaObjectType = (int)AyaType.User,
|
||||
AType = (int)AyaType.User,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "auser.id",
|
||||
SqlValueColumnName = "auser.name",
|
||||
@@ -33,7 +33,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "CustomerNoteNotes",
|
||||
FieldKey = "notes",
|
||||
AyaObjectType = (int)AyaType.CustomerNote,
|
||||
AType = (int)AyaType.CustomerNote,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "acustomernote.id",
|
||||
SqlValueColumnName = "acustomernote.notes",
|
||||
|
||||
Reference in New Issue
Block a user