This commit is contained in:
@@ -2,7 +2,7 @@ using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
internal class AttachmentDataList : AyaDataList
|
||||
internal class AttachmentDataList : DataListBase
|
||||
{
|
||||
|
||||
public AttachmentDataList()
|
||||
@@ -44,9 +44,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 = "FileAttachment",
|
||||
FieldKey = "displayfilename",
|
||||
@@ -57,7 +57,7 @@ namespace AyaNova.DataList
|
||||
IsRowId = true
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AttachmentExists",
|
||||
FieldKey = "exists",
|
||||
@@ -65,7 +65,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "afileattachment.exists"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "Object",
|
||||
FieldKey = "object",
|
||||
@@ -75,7 +75,7 @@ namespace AyaNova.DataList
|
||||
SqlAyTypeColumnName = "afileattachment.attachtoobjecttype"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "FileSize",
|
||||
FieldKey = "size",
|
||||
@@ -83,7 +83,7 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "afileattachment.size"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AttachmentNotes",
|
||||
FieldKey = "notes",
|
||||
|
||||
Reference in New Issue
Block a user