Config all processors for using two digits month number.
This commit is contained in:
@@ -56,9 +56,9 @@ public class T1R3Processor(
|
||||
string pattern = @$"^L\d+-P-{year}/\d+-{source}-T5$";
|
||||
var dataSources = db.Layers
|
||||
.Where(x => !x.IsDeleted)
|
||||
.Include(layer => layer.Records!) // Filter on the database side as much as possible
|
||||
.AsEnumerable() // Switch to in-memory evaluation
|
||||
.Where(x => Regex.IsMatch(x.Name!, pattern)) // Apply Regex filtering
|
||||
.Include(layer => layer.Records!)
|
||||
.AsEnumerable()
|
||||
.Where(x => Regex.IsMatch(x.Name!, pattern))
|
||||
.ToList();
|
||||
|
||||
foreach (var dataSource in dataSources)
|
||||
|
||||
Reference in New Issue
Block a user