I am using Entity Framework 5 - Code first.
I have a database that I am connecting to that already exists for some time now (I did not create it). There is a table
You can convert it to an int with:
int myInt = Convert.Int32(numberFromDatabase);