This commit is contained in:
@@ -23,6 +23,10 @@ namespace AyaNova.DataList
|
||||
|
||||
cm = new JObject();
|
||||
cm.fld = "ayatype";
|
||||
dlistView.Add(cm);
|
||||
|
||||
cm = new JObject();
|
||||
cm.fld = "ayatypeex";
|
||||
dlistView.Add(cm);
|
||||
|
||||
cm = new JObject();
|
||||
@@ -76,6 +80,19 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "afileattachment.AttachToObjectType"
|
||||
});
|
||||
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
{
|
||||
TKey = "AyaType",
|
||||
FieldKey = "ayatypeex",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
// EnumType = AyaNova.Util.StringUtil.TrimTypeName(typeof(AyaType).ToString()),
|
||||
SqlIdColumnName = "afileattachment.AttachToObjectid",
|
||||
SqlValueColumnName = "AYGETNAME(afileattachment.AttachToObjectid, afileattachment.attachtoobjecttype)",
|
||||
SqlAyTypeColumnName = "afileattachment.attachtoobjecttype"
|
||||
});
|
||||
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
{
|
||||
TKey = "FileSize",
|
||||
|
||||
Reference in New Issue
Block a user