Example #1
0
        internal void SetCustomListRelation(Entity entity, string name, string value)
        {
            CustomListValue valueEntity = null;

            if (value != null)
            {
                valueEntity = GetCustomListValueByName(entity, name, value);
            }

            SetRelation(entity, name, valueEntity);
        }
Example #2
0
 internal T GetPropertyOnCustomType <T>(CustomListValue entity, string name, bool cachable)
 {
     return((T)GetAttributeOnCustomType(entity, name, cachable).Value);
 }