示例#1
0
 protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
 {
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
     using (var context = new ClientsContext())
     {
         context.UpdateClient(_client);
     }
 }