This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Linq;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace AyaNova.DataList
|
||||
{
|
||||
@@ -81,6 +76,20 @@ namespace AyaNova.DataList
|
||||
map.Add(idColumnName, nOrdinal++);
|
||||
}
|
||||
}
|
||||
|
||||
//does it also have an openable AyaType column?
|
||||
var ayaTypeColumnName = o.SqlAyTypeColumnName;
|
||||
if (!string.IsNullOrWhiteSpace(ayaTypeColumnName))
|
||||
{
|
||||
if (!map.ContainsKey(ayaTypeColumnName))
|
||||
{
|
||||
if (firstColumnAdded)
|
||||
sb.Append(", ");
|
||||
sb.Append(ayaTypeColumnName);
|
||||
firstColumnAdded = true;
|
||||
map.Add(ayaTypeColumnName, nOrdinal++);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user