public bool UpdateDataSource(IEnumerable <TableData> tables, IDataSource source) { if (Update) { //var staleTime = GetStaleTime(tables); source.ApplyUpdateFilter(_cutoff, null); return(true); } else { if (source.Filters.Any(f => f.IsStagingFilter)) { //Rebuild on first update _nextCuttoff = null; } } return(false); }
public bool UpdateDataSource(IEnumerable<TableData> tables, IDataSource source) { if (Update) { //var staleTime = GetStaleTime(tables); source.ApplyUpdateFilter(_cutoff, null); return true; } else { if (source.Filters.Any(f => f.IsStagingFilter)) { //Rebuild on first update _nextCuttoff = null; } } return false; }