I will likely have dozens of decimal properties in my model, and I set the precision in OnModelCreating like so:
modelBuilder.Entity<Models.MyModel>()
.Property(x => x.MyProp)
.HasPrecision(18, 2);
But it's already getting out of hand with the length, so I was wondering if there was a way to iterate through every decimal in my context and set the precision (18,2)?