First create Model and Data context class. open vs command tool and enabled migration by command enable migration update -verbose then your database generated as per your model class
http://dotnet-munesh.blogspot.in/2015/06/curd-operation-in-aspnet-using-entity.html