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(); } }
public SDatabase Install(SView v, long c) { return(New(objects + (v.uid, v), names + (v.name, v), c)); }