Click here to Skip to main content
15,889,867 members
Articles / Database Development / SQL Server

EF6 Migrations and TimeStamp Bug with CodeFirst

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
2 Nov 2021CPOL2 min read 5.8K   1  
Migrations does not apply to T-SQL rules for ALTER TABLE ALTER COLUMN
In our projects with OData services, we have a lot of models with common fields. When changing these field to a baseclass, Migrations does want to update your database.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Netherlands Netherlands
I started in the eightees with Basic and QuickBasic. When the ninetees started dBase was my thing. Close to the millenium years I swapped to C++ and since 2003 it is only programming in c#.

There is one thing about me.
Not that kind of OO guy and definately not an ORM-fan. I know a database to well to give the importance of data out in the hands of a tool.

Comments and Discussions