Stub Customer object

This commit is contained in:
2020-05-01 20:45:06 +00:00
parent 7c2e37fcea
commit ce5f8f21c2
12 changed files with 689 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
namespace AyaNova.Biz
{
@@ -9,21 +10,23 @@ namespace AyaNova.Biz
public static class AyaFormFieldDefinitions
{
//DEFINE VALID KEYS HERE
// public const string WIDGET_KEY = "widget";
// public const string USER_KEY = "user";
public static List<string> AyaFormFieldDefinitionKeys
{
get
{
//CoreBizObject add here
List<string> l = new List<string>{
AyaType.Widget.ToString(),AyaType.User.ToString()
};
//return the names of all AyaTypes that have the corebizobject attribute
List<string> l = new List<string>();
var values = Enum.GetValues(typeof(AyaType));
foreach (AyaType t in values)
{
if (t.HasAttribute(typeof(CoreBizObjectAttribute)))
{
l.Add(t.ToString());
}
}
return l;
}
}