示例#1
0
 public void Insert(Person entity)
 {
     _entities.Add(entity);
 }
示例#2
0
 public void Delete(Person entity)
 {
     _entities.Remove(entity);
 }
示例#3
0
 public void Delete(Person entity)
 {
     _dataStore.Delete(entity);
     _messenger.Publish(new SampleAppChangedMessage(this));
 }
示例#4
0
 public void Insert(Person entity)
 {
     _dataStore.Insert(entity);
     _messenger.Publish(new SampleAppChangedMessage(this));
 }
 public PersonAddViewModel(ISampleAppService sampleAppService, IMvxLocationWatcher locationWatcher)
     : base(sampleAppService, locationWatcher)
 {
     Person = new Person();
 }