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 TranslationDataList : AyaDataList
internal class TranslationDataList : DataListBase
{
public TranslationDataList()
@@ -36,9 +36,9 @@ namespace AyaNova.DataList
//NOTE: Due to the join, all the sql id and name fields that can conflict with the joined (in this case User) table need to be specified completely
FieldDefinitions = new List<AyaDataListFieldDefinition>();
FieldDefinitions = new List<DataListFieldDefinition>();
//DPRECATED FieldDefinitions.Add(new AyaDataListFieldDefinition { FieldKey = "df", AyaObjectType = (int)AyaType.User, SqlIdColumnName = "auser.id" });
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Translation",
FieldKey = "name",
@@ -49,7 +49,7 @@ namespace AyaNova.DataList
IsRowId = true
});
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "GlobalCJKIndex",
FieldKey = "cjkindex",
@@ -59,7 +59,7 @@ namespace AyaNova.DataList
FieldDefinitions.Add(new AyaDataListFieldDefinition
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "ReadOnly",
FieldKey = "stock",