Exemplo n.º 1
0
 private void ExecuteRemoveServiceLog(object parameter)
 {
     if (_dbContext is SQLiteContext)
     {
         SQLiteContext context = _dbContext as SQLiteContext;
         context.Configuration.LazyLoadingEnabled = false;
         context.ServiceLog.Remove(_selectedServiceLog.ServiceLog);
         context.SaveChanges();
         SelectedServiceLog = null;
         OnFilterChanged();
     }
 }
Exemplo n.º 2
0
 public SDatabase Install(SView v, long c)
 {
     return(New(objects + (v.uid, v), names + (v.name, v), c));
 }