How to change the precision and the scale of decimal globally through code first?
<p>According to this answer:<a href="https://stackoverflow.com/a/7769162/418343">Decimal precision and scale in EF Code First</a></p>

<pre><code>modelBuilder.Entity&lt;Class&gt;().Property(object =&gt; object.property).HasPrecision(12, 10);
</code></pre>

<p>I can change the decimal precision and scale for specific property in specific entity .</p>

<hr>

<p>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.</p>