mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 09:37:45 +00:00
Build fixes following .NET Core 2.0 update
This commit is contained in:
@@ -28,7 +28,7 @@ namespace MusicStore
|
||||
});
|
||||
|
||||
// Add EF services to the service container
|
||||
services.AddEntityFramework()
|
||||
services
|
||||
.AddEntityFrameworkSqlite()
|
||||
.AddDbContext<MusicStoreContext>(options => {
|
||||
options.UseSqlite("Data Source=music-db.sqlite");
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace MusicStore
|
||||
});
|
||||
|
||||
// Add EF services to the service container
|
||||
services.AddEntityFramework()
|
||||
services
|
||||
.AddEntityFrameworkSqlite()
|
||||
.AddDbContext<MusicStoreContext>(options => {
|
||||
options.UseSqlite("Data Source=music-db.sqlite");
|
||||
|
||||
Reference in New Issue
Block a user