protected virtual void ConfigureProperty(IMutableProperty property, string configuration, string value) { var propertyAnnotations = property.MySql(); switch (configuration) { case nameof(RelationalPropertyAnnotations.DefaultValue): propertyAnnotations.DefaultValue = int.Parse(value); break; case nameof(RelationalPropertyAnnotations.DefaultValueSql): propertyAnnotations.DefaultValueSql = value; break; case nameof(RelationalPropertyAnnotations.ComputedColumnSql): propertyAnnotations.ComputedColumnSql = value; break; case nameof(MySqlPropertyAnnotations.ValueGenerationStrategy): propertyAnnotations.ValueGenerationStrategy = MySqlValueGenerationStrategy.IdentityColumn; break; default: throw new NotImplementedException(); } }