This commit is contained in:
@@ -13,15 +13,13 @@ namespace AyaNova.Biz
|
||||
{
|
||||
|
||||
//Build the SELECT portion of a list query based on the template, mini or full and the object key in question
|
||||
public static string Build(string objectKey, string template, bool mini)
|
||||
public static string Build( List<AyaObjectFieldDefinition> objectFieldsList, string template, bool mini)
|
||||
{
|
||||
|
||||
//parse the template
|
||||
var jtemplate = JObject.Parse(template);
|
||||
|
||||
//get the fields list
|
||||
var objectFieldsList = AyaObjectFieldDefinitions.AyaObjectFields(objectKey);
|
||||
|
||||
|
||||
//convert to strings array (https://stackoverflow.com/a/33836599/8939)
|
||||
string[] templateFieldList;
|
||||
if (mini)
|
||||
|
||||
Reference in New Issue
Block a user