Skip to content

Commit

Permalink
try capturing large lists again
Browse files Browse the repository at this point in the history
closes #200
  • Loading branch information
collinbarrett committed Aug 24, 2018
1 parent 6ad98d2 commit 9751e46
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ private static string GetUpdateUnchangedColumnHack(IEnumerable<IProperty> proper
return firstId + " = VALUES(" + firstId + ")";
}

//TODO: https://github.com/collinbarrett/FilterLists/issues/200
//TODO: https://github.com/collinbarrett/FilterLists/issues/201
private static void SetCantSnapshot(DbContext dbContext)
{
const string rawSqlString = "UPDATE filterlists SET CantSnapshot = 1 WHERE id IN(48, 149, 173, 185, 188, 189, 352, 489)";
const string rawSqlString = "UPDATE filterlists SET CantSnapshot = 1 WHERE id IN(173, 185, 188, 189)";
dbContext.Database.ExecuteSqlCommand(rawSqlString);
dbContext.SaveChanges();
}
Expand Down

0 comments on commit 9751e46

Please sign in to comment.