Example #1
0
        public virtual GraphEntity AddProperties(Type type)
        {
            TypeManager.GetPropertyNames(type).ToList().ForEach(p => { if (!Properties.ContainsKey(p))
                                                                       {
                                                                           Properties.Add(p, null);
                                                                       }
                                                                });

            return(this);
        }
Example #2
0
        public virtual GraphEntity RemoveProperties(Type type)
        {
            TypeManager.GetPropertyNames(type).ToList().ForEach(p => Properties.Remove(p));

            return(this);
        }