Last active
June 15, 2018 13:47
-
-
Save AndreasLazar/2b0a676dceaacedf5b08a9431db2cd01 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
using MeineApp.Data; | |
using Microsoft.EntityFrameworkCore; | |
namespace MeineApp | |
{ | |
public class Startup | |
{ | |
[...] | |
public void ConfigureServices(IServiceCollection services) | |
{ | |
string connString = Configuration.GetConnectionString("DefaultConnection"); | |
services.AddDbContext<KcDbContext>( | |
options => options.UseSqlite(connString) | |
); | |
[...] | |
} | |
[...] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment