Updating AddEntityFramework call to not use nested closure.

This commit is contained in:
ajcvickers 2014-05-08 16:01:56 -07:00
parent 9434bbc8e3
commit 66b06950d5
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ public class Startup
/*Add all EF related services to IoC.
Using an InMemoryStore in K until SQL server is available.*/
services.AddEntityFramework(s => s.AddSqlServer());
services.AddEntityFramework(s => s.AddInMemoryStore());
services.AddEntityFramework().AddSqlServer();
services.AddEntityFramework().AddInMemoryStore();
services.AddTransient<MusicStoreContext>();