/// <summary> /// Clears the properties of this instance. /// </summary> internal void Reset(bool childs = true, bool remove = true, bool collectionId = true, bool record = true, bool map = true) { Completed = false; if (childs) { ChildDependencies.Clear(); } if (remove && _UberMap != null && !_UberMap.IsDisposed) { _UberMap.MetaEntities.Remove(this); } if (collectionId) { CollectionId = null; } if (record) { Record = null; } if (map) { UberMap = null; } }