Asp .net Core 2.0
Database name - "YourDatabaseName"
var connectionString = "Data Source=YourServerName;Initial Catalog=YourDatabaseName;Integrated Security=True";
services.AddDbContext<StudentDbContext>(options => options.UseSqlServer(connectionString));
Add migreation cmd using package manager console (go UnitOfWorkWithRepositoryPartens.Data using package manager console)
Add-Migration InitialCreate
Update-Database