public virtual GraphEntity AddProperties(Type type) { TypeManager.GetPropertyNames(type).ToList().ForEach(p => { if (!Properties.ContainsKey(p)) { Properties.Add(p, null); } }); return(this); }
public virtual GraphEntity RemoveProperties(Type type) { TypeManager.GetPropertyNames(type).ToList().ForEach(p => Properties.Remove(p)); return(this); }