This commit is contained in:
@@ -81,36 +81,17 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "aservicebank.objecttype"
|
SqlValueColumnName = "aservicebank.objecttype"
|
||||||
});
|
});
|
||||||
|
|
||||||
// FieldDefinitions.Add(new AyaDataListFieldDefinition
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
// {
|
|
||||||
// TKey = "ServiceBankDescription",
|
|
||||||
// FieldKey = "ServiceBankDescription",
|
|
||||||
// AyaObjectType = (int)AyaType.ServiceBank,
|
|
||||||
// UiFieldDataType = (int)UiFieldDataType.Text,
|
|
||||||
// SqlIdColumnName = "aservicebank.id",
|
|
||||||
// SqlValueColumnName = "aservicebank.name",
|
|
||||||
// IsRowId = true
|
|
||||||
// });
|
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
|
||||||
{
|
{
|
||||||
TKey = "ServiceBankDescription",
|
TKey = "ServiceBankDescription",
|
||||||
FieldKey = "ServiceBankDescription",
|
FieldKey = "ServiceBankDescription",
|
||||||
AyaObjectType = (int)AyaType.NoType,//prevent opening at client
|
AyaObjectType = (int)AyaType.ServiceBank,
|
||||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
SqlIdColumnName = "aservicebank.id",
|
SqlIdColumnName = "aservicebank.id",
|
||||||
SqlValueColumnName = "aservicebank.name",
|
SqlValueColumnName = "aservicebank.name",
|
||||||
IsRowId = true
|
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
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user