TrackableEntities / EntityFrameworkCore.Scaffolding.Handlebars

Scaffold EF Core models using Handlebars templates.
MIT License
210 stars 53 forks source link

TimeStamp attribute not decorated on RowVersion Properties #10

Closed noufionline closed 6 years ago

noufionline commented 6 years ago

Hi Tony,

While scaffolding RowVersion columns are not decorated with TimeStamp Attribute

tonysneed commented 6 years ago

Adding the TimeStamp attribute is something you have to do yourself to implement a concurrency control strategy.

Because the entities are generated partial classes, you can use metadata types to add attributes in your own partial classes.