Skip to content

Instantly share code, notes, and snippets.

@AndreasLazar
Last active June 15, 2018 14:33
Show Gist options
  • Save AndreasLazar/b6db51df7877e6ffdbc9c6a83ffd9123 to your computer and use it in GitHub Desktop.
Save AndreasLazar/b6db51df7877e6ffdbc9c6a83ffd9123 to your computer and use it in GitHub Desktop.
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