protected virtual void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } EDMDesignerChangeWatcher.ObjectChanged(this); }
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); }
public EDMDesignerViewContent(OpenedFile primaryFile) : base(primaryFile) { if (primaryFile == null) { throw new ArgumentNullException("primaryFile"); } primaryFile.ForceInitializeView(this); // call Load() EDMDesignerChangeWatcher.AddEDMDesignerViewContent(this); }