Work around CoreCLR issue

This commit is contained in:
SteveSandersonMS
2015-11-26 11:47:12 +00:00
parent 6f840b60ca
commit ad04dd1750

View File

@@ -23,7 +23,7 @@ namespace MusicStore.Models
public string Title { get; set; } public string Title { get; set; }
[Required] [Required]
[Range(0.01, 100.00)] [RangeAttribute(typeof(double), "0.01", "100")] // Long-form constructor to work around https://github.com/dotnet/coreclr/issues/2172
[DataType(DataType.Currency)] [DataType(DataType.Currency)]
public decimal Price { get; set; } public decimal Price { get; set; }