This commit is contained in:
@@ -4,7 +4,7 @@ using AyaNova.Models;
|
||||
using AyaNova.Biz;
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
internal class ServiceBankDataList : AyaDataList
|
||||
internal class ServiceBankDataList : DataListBase
|
||||
{
|
||||
public ServiceBankDataList()
|
||||
{
|
||||
@@ -67,9 +67,9 @@ namespace AyaNova.DataList
|
||||
|
||||
|
||||
//NOTE: Due to the join, all the sql id and name fields that can conflict with the joined table need to be specified completely
|
||||
FieldDefinitions = new List<AyaDataListFieldDefinition>();
|
||||
FieldDefinitions = new List<DataListFieldDefinition>();
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankSourceRootObjectType",
|
||||
FieldKey = "ServiceBankSourceRootObjectType",
|
||||
@@ -79,7 +79,7 @@ namespace AyaNova.DataList
|
||||
SqlAyTypeColumnName = "aservicebank.sourcetype"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Object",
|
||||
FieldKey = "Object",
|
||||
@@ -89,7 +89,7 @@ namespace AyaNova.DataList
|
||||
SqlAyTypeColumnName = "aservicebank.objecttype"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AyaType",
|
||||
FieldKey = "AyaType",
|
||||
@@ -98,7 +98,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.objecttype"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankDescription",
|
||||
FieldKey = "ServiceBankDescription",
|
||||
@@ -110,7 +110,7 @@ namespace AyaNova.DataList
|
||||
});
|
||||
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankCreated",
|
||||
FieldKey = "ServiceBankCreated",
|
||||
@@ -118,7 +118,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.entrydate"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankCurrency",
|
||||
FieldKey = "ServiceBankCurrency",
|
||||
@@ -126,7 +126,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.currency"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankCurrencyBalance",
|
||||
FieldKey = "ServiceBankCurrencyBalance",
|
||||
@@ -134,7 +134,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.currencybalance"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankIncidents",
|
||||
FieldKey = "ServiceBankIncidents",
|
||||
@@ -142,7 +142,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.incidents"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankIncidentsBalance",
|
||||
FieldKey = "ServiceBankIncidentsBalance",
|
||||
@@ -150,7 +150,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.incidentsbalance"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankHours",
|
||||
FieldKey = "ServiceBankHours",
|
||||
@@ -158,7 +158,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aservicebank.hours"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankHoursBalance",
|
||||
FieldKey = "ServiceBankHoursBalance",
|
||||
@@ -167,7 +167,7 @@ namespace AyaNova.DataList
|
||||
});
|
||||
|
||||
//META object id column
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
FieldKey = "metaservicebankobjectid",
|
||||
UiFieldDataType = (int)UiFieldDataType.InternalId,
|
||||
|
||||
Reference in New Issue
Block a user