Update Scaffolding - can now use Identity on a byte property #8140
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
punted-for-2.0
type-bug
Milestone
Previously EF did not allow the
Identity
strategy to be used on properties which had the data typebyte
.We enforce this in SqlServerScaffoldingModelFactory by issuing a warning if we are trying to put Identity on a byte property.
Discussion with @ajcvickers resulted in discovery that EF no longer disallows this. So we should stop issuing the warning and just set
UseSqlServerIdentityColumn()
on that column as we do for other data types.The text was updated successfully, but these errors were encountered: