This repository was created in order to demonstrate the bug reported to Entity Framework dev team which causes problems when changing variable type of primary key column.