Example #1
0
 private void Refresh()
 {
     if (_entities != null)
     {
         _entities.Dispose();
     }
     _entities = new mainEntities();
 }
Example #2
0
        private void Refresh()
        {
            if (_entities != null)
            {
                _entities.Dispose();
            }
            _entities = new mainEntities();

            _entities.kunden.Load();
            _kundenViewSource.Source = _entities.kunden.Local;
        }