private void Refresh() { if (_entities != null) { _entities.Dispose(); } _entities = new mainEntities(); }
private void Refresh() { if (_entities != null) { _entities.Dispose(); } _entities = new mainEntities(); _entities.kunden.Load(); _kundenViewSource.Source = _entities.kunden.Local; }