Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 58fa07d

Browse files
Build fixes following .NET Core 2.0 update
1 parent deaaa43 commit 58fa07d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/angular/MusicStore/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public void ConfigureServices(IServiceCollection services)
2828
});
2929

3030
// Add EF services to the service container
31-
services.AddEntityFramework()
31+
services
3232
.AddEntityFrameworkSqlite()
3333
.AddDbContext<MusicStoreContext>(options => {
3434
options.UseSqlite("Data Source=music-db.sqlite");

samples/react/MusicStore/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void ConfigureServices(IServiceCollection services)
3030
});
3131

3232
// Add EF services to the service container
33-
services.AddEntityFramework()
33+
services
3434
.AddEntityFrameworkSqlite()
3535
.AddDbContext<MusicStoreContext>(options => {
3636
options.UseSqlite("Data Source=music-db.sqlite");

0 commit comments

Comments
 (0)