I added the DefaultValueAttribute to an existing column.
[DefaultValue(0)]
public double Volume { get; set; }
But it doesn't appear to make any difference. I couldn't find anything in the generated migration code for this column. And no default value shows in SSMS.
Does anyone know why this attribute doesn't appear to be supported? Is it necessary to use OnModelCreating() instead?
