This commit is contained in:
2021-01-28 18:24:27 +00:00
parent b16fc01b92
commit 0b631228b9
48 changed files with 1792 additions and 1766 deletions

View File

@@ -2,7 +2,7 @@ using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.DataList
{
internal class ProjectDataList : AyaDataList
internal class ProjectDataList : DataListBase
{
public ProjectDataList()
{
@@ -52,9 +52,9 @@ namespace AyaNova.DataList
"ProjectAccountNumber", "projectactive", "projecttags" };
DefaultSortBy = new Dictionary<string, string>() { { "projectname", "+" } };
FieldDefinitions = new List<AyaDataListFieldDefinition>();
FieldDefinitions = new List<DataListFieldDefinition>();
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ProjectName",
FieldKey = "projectname",
@@ -65,7 +65,7 @@ namespace AyaNova.DataList
IsRowId = true
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ProjectNotes",
FieldKey = "projectnotes",
@@ -73,7 +73,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "aproject.notes"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Active",
FieldKey = "projectactive",
@@ -81,7 +81,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "aproject.active"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Tags",
FieldKey = "projecttags",
@@ -92,7 +92,7 @@ namespace AyaNova.DataList
//------------
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ProjectAccountNumber",
FieldKey = "ProjectAccountNumber",
@@ -100,7 +100,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "aproject.accountnumber"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
FieldKey = "ProjectProjectOverseerID",
TKey = "ProjectProjectOverseerID",
@@ -110,7 +110,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "auser.name"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ProjectDateStarted",
FieldKey = "ProjectDateStarted",
@@ -118,7 +118,7 @@ namespace AyaNova.DataList
SqlValueColumnName = "aproject.datestarted"
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ProjectDateCompleted",
FieldKey = "ProjectDateCompleted",
@@ -127,22 +127,22 @@ namespace AyaNova.DataList
});
//-----------
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom1", FieldKey = "projectcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom2", FieldKey = "projectcustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom3", FieldKey = "projectcustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom4", FieldKey = "projectcustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom5", FieldKey = "projectcustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom6", FieldKey = "projectcustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom7", FieldKey = "projectcustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom8", FieldKey = "projectcustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom9", FieldKey = "projectcustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom10", FieldKey = "projectcustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom11", FieldKey = "projectcustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom12", FieldKey = "projectcustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom13", FieldKey = "projectcustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom14", FieldKey = "projectcustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom15", FieldKey = "projectcustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "ProjectCustom16", FieldKey = "projectcustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom1", FieldKey = "projectcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom2", FieldKey = "projectcustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom3", FieldKey = "projectcustom3", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom4", FieldKey = "projectcustom4", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom5", FieldKey = "projectcustom5", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom6", FieldKey = "projectcustom6", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom7", FieldKey = "projectcustom7", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom8", FieldKey = "projectcustom8", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom9", FieldKey = "projectcustom9", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom10", FieldKey = "projectcustom10", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom11", FieldKey = "projectcustom11", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom12", FieldKey = "projectcustom12", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom13", FieldKey = "projectcustom13", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom14", FieldKey = "projectcustom14", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom15", FieldKey = "projectcustom15", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
FieldDefinitions.Add(new DataListFieldDefinition { TKey = "ProjectCustom16", FieldKey = "projectcustom16", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aproject.customfields" });
}
}//eoc
}//eons