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 ProjectDataList()
|
||||
{
|
||||
DefaultListObjectType = AyaType.Project;
|
||||
DefaultListAType = AyaType.Project;
|
||||
SQLFrom = "from aproject left join auser on (aproject.projectoverseerid=auser.id)";
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListObjectType);
|
||||
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
|
||||
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
|
||||
DefaultColumns = new List<string>() { "projectname", "ProjectProjectOverseerID", "ProjectDateStarted", "ProjectDateCompleted",
|
||||
"ProjectAccountNumber", "projectactive", "projecttags" };
|
||||
@@ -19,7 +19,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
TKey = "ProjectName",
|
||||
FieldKey = "projectname",
|
||||
AyaObjectType = (int)AyaType.Project,
|
||||
AType = (int)AyaType.Project,
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlIdColumnName = "aproject.id",
|
||||
SqlValueColumnName = "aproject.name",
|
||||
@@ -63,7 +63,7 @@ namespace AyaNova.DataList
|
||||
FieldKey = "ProjectProjectOverseerID",
|
||||
TKey = "ProjectProjectOverseerID",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
AyaObjectType = (int)AyaType.User,
|
||||
AType = (int)AyaType.User,
|
||||
SqlIdColumnName = "auser.id",
|
||||
SqlValueColumnName = "auser.name"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user