According to this answer:Decimal precision and scale in EF Code First
modelBuilder.Entity<Class>().Property(object => object.property).HasPrecision(12, 10);
I can change the decimal precision and scale for specific property in specific entity .
But i wonder how to change it globally , i mean change all the decimal attributes to specific precision and scale because i have tons of them in different entities.