public override void Dispose() { if (_edmView != null) { CSDLViews.Remove(_edmView.CSDL); } EDMDesignerChangeWatcher.RemoveEDMDesignerViewContent(this); }
public override void Dispose() { if (CSDLDatabaseTreeViewAdditionalNode.Instance.CSDLViews.Contains(_edmView.CSDL)) { CSDLDatabaseTreeViewAdditionalNode.Instance.CSDLViews.Remove(_edmView.CSDL); } EDMDesignerChangeWatcher.RemoveEDMDesignerViewContent(this); }