Fix copy/paste typo
This commit is contained in:
parent
7d97d61950
commit
2209b2e933
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue