Step 1. Change the definition of the mannualy table:
[RowVersion] TIMESTAMP NOT NULL
Step 2. Go to NameOfMigrationAdded.cs in the Migrations directory and comment on this line in the Up () method:
AlterColumn("dbo.YOUR_TABLE_NAME_HERE", "RowVersion", c => c.Binary(nullable: false, fixedLength: true, timestamp: true, storeType: "rowversion"));
3. " " PM
;)
4. Up(), :
Version = c.Binary(nullable: false, fixedLength: true, timestamp: true, storeType: "rowversion"),
CreateTable (...) AddColumn (...)
:
AddColumn("dbo.Rows", "RowVersion", c => c.Binary(nullable: false, fixedLength: true, timestamp: true, storeType: "rowversion"));