This commit is contained in:
@@ -92,15 +92,26 @@ namespace AyaNova.DataList
|
||||
// IsRowId = true
|
||||
// });
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankDescription",
|
||||
FieldKey = "ServiceBankDescription",
|
||||
AyaObjectType = (int)AyaType.ServiceBank,
|
||||
AyaObjectType = (int)AyaType.NoType,//prevent opening at client
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "aservicebank.name"
|
||||
SqlIdColumnName = "aservicebank.id",
|
||||
SqlValueColumnName = "aservicebank.name",
|
||||
IsRowId = true
|
||||
});
|
||||
|
||||
// FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
// {
|
||||
// TKey = "ServiceBankDescription",
|
||||
// FieldKey = "ServiceBankDescription",
|
||||
// AyaObjectType = (int)AyaType.ServiceBank,
|
||||
// UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
// SqlValueColumnName = "aservicebank.name"
|
||||
// });
|
||||
|
||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||
{
|
||||
TKey = "ServiceBankCreated",
|
||||
|
||||
@@ -78,6 +78,7 @@ namespace AyaNova.Biz
|
||||
await ct.SaveChangesAsync();
|
||||
await EventLogProcessor.LogEventToDatabaseAsync(new Event(UserId, newObject.Id, BizType, AyaEvent.Created), ct);
|
||||
await SearchIndexAsync(newObject, true);
|
||||
await transaction.CommitAsync();
|
||||
await HandlePotentialNotificationEvent(AyaEvent.Created, newObject);
|
||||
return newObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user