This example is for Microsoft SQL Server 2008 database connection.
First step is to make right click in Solution Explorer and Add->New Item…
Then, choose Service-based Database.
Choose a Database Model.
Choose your Database Object.
Once when Data Connection is made and refreshed, new table can be added.
First column supposed to be ID column, should be of int type, and not allow Nulls.
In Column properties, identity specification should be clicked, and then Is Identity property should be changed to yes.
For MySQL Database connection read in external links.