Last active
June 15, 2018 14:33
-
-
Save AndreasLazar/b6db51df7877e6ffdbc9c6a83ffd9123 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.Models; | |
using Microsoft.EntityFrameworkCore; | |
namespace MeineApp.Data | |
{ | |
public class KcDbContext : DbContext | |
{ | |
public KcDbContext(DbContextOptions<KcDbContext> options) : base (options) { } | |
public DbSet<Speaker> Speakers { get; set; } | |
public DbSet<KnowledgeCircle> KnowledgeCirles { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment