// TODO: The Ast needs to add a PreviewPropertyChanged or a PropertyChanging event in order to do this correctly with old and new values private void AstConnectionNode_SingletonPropertyChanged(object sender, Vulcan.Utility.ComponentModel.VulcanPropertyChangedEventArgs e) { if (e.PropertyName == "Server" || e.PropertyName == "Authentication" || e.PropertyName == "Login" || e.PropertyName == "Password" || e.PropertyName == "Database" || e.PropertyName == "AdditionalParameters" || e.PropertyName == "Protocol" || e.PropertyName == "Provider") { VulcanOnPropertyChanged("OleConnectionString", OleConnectionString, OleConnectionString); VulcanOnPropertyChanged("SqlConnectionString", SqlConnectionString, SqlConnectionString); } }
private void AstAttributeNode_SingletonPropertyChanged(object sender, Vulcan.Utility.ComponentModel.VulcanPropertyChangedEventArgs e) { if (e.PropertyName == "NameColumn") { VulcanCompositeCollectionChanged(_columns, e.OldValue as AstAttributeColumnNode, e.NewValue as AstAttributeColumnNode); } else if (e.PropertyName == "ValueColumn") { VulcanCompositeCollectionChanged(_columns, e.OldValue as AstAttributeColumnNode, e.NewValue as AstAttributeColumnNode); } }
private void AstDataflowOutputPathNode_SingletonPropertyChanged(object sender, Vulcan.Utility.ComponentModel.VulcanPropertyChangedEventArgs e) { if (e.PropertyName == "Name" && String.IsNullOrEmpty(SsisName)) { SsisName = Name; } }