public void RemoveKey(IKey key) { _keys.Remove(key); key.Parent = null; Database.RemoveRelationshipsContaining(key); RaisePropertyChanged("Keys"); }