This commit is contained in:
2020-03-16 22:43:26 +00:00
parent fd63ad2320
commit cdfca271d3
6 changed files with 29 additions and 10 deletions

View File

@@ -18,20 +18,19 @@ namespace AyaNova.PickList
internal static string Build(IAyaPickList pickList, List<string> templateColumnNames, string autoCompleteQuery, string tagSpecificQuery, bool IncludeInactive)
{
//determine this in advance as it will be used in a loop later
bool HasAutoCompleteQuery = !string.IsNullOrWhiteSpace(autoCompleteQuery);
bool HasTagSpecificQuery = !string.IsNullOrWhiteSpace(tagSpecificQuery);
//lists to collect the clauses so to avoid comma fuckery
//Variables to collect the data needed to create the actual clauses later
List<string> lSelect = new List<string>();
string ActiveWhereFragment = string.Empty;
List<string> lWhere = new List<string>();
List<string> lOrderBy = new List<string>();
string PlIdSelectFragment = string.Empty;
string ActiveSelectFragment = string.Empty;
string ActiveWhereFragment = string.Empty;
//PROCESS ROW ID "VALUE" COLUMN
//