Closed
Description
openedon Nov 21, 2017
We should have a page showing how do to things like this:
foreach (var property in modelBuilder.Model.GetEntityTypes()
.SelectMany(t => t.GetProperties())
.Where(p => p.ClrType == typeof(decimal)))
{
property.Relational().ColumnType = "decimal(18, 6)";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment