Example #1
0
        }//method

        #endregion

        #region Entity list
        // When we get the value, if it is null, we must try to load the list
        public static object GetEntityListValue(EntityRecord record, EntityMemberInfo member)
        {
            var list = record.ValuesTransient[member.ValueIndex];

            if (list != null)
            {
                return(list);
            }
            //create new list
            list = record.InitChildEntityList(member);
            return(list);
        }