Fix copy/paste typo

This commit is contained in:
ajcvickers 2015-03-20 16:49:19 -07:00
parent 7d97d61950
commit 2209b2e933
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ namespace MusicStore
services.AddEntityFramework()
.AddSqlServer()
.AddDbContext<MusicStoreContext>(options =>
options.UserSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
options.UseSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
}
// Add Identity services to the services container

View File

@ -48,7 +48,7 @@ namespace MusicStore
services.AddEntityFramework()
.AddSqlServer()
.AddDbContext<MusicStoreContext>(options =>
options.UserSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
options.UseSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
// Add MVC services to the services container
services.AddMvc();

View File

@ -56,7 +56,7 @@ namespace MusicStore
services.AddEntityFramework()
.AddSqlServer()
.AddDbContext<MusicStoreContext>(options =>
options.UserSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
options.UseSqlServer(Configuration.Get("Data:DefaultConnection:ConnectionString")));
}
// Add Identity services to the services container