dotnet-dynamic-linq/PoweredSoft.DynamicLinq.Dal/BlogCoreContext.cs
2019-11-11 18:37:14 -06:00

23 lines
561 B
C#

using PoweredSoft.DynamicLinq.Dal.Pocos;
using Microsoft.EntityFrameworkCore;
using JetBrains.Annotations;
using System.Diagnostics.CodeAnalysis;
namespace PoweredSoft.DynamicLinq.Dal
{
public class BlogCoreContext : DbContext
{
public BlogCoreContext([NotNull] DbContextOptions options) : base(options)
{
}
protected BlogCoreContext()
{
}
public DbSet<Author> Authors { get; set; }
public DbSet<Comment> Comments { get; set; }
public DbSet<Post> Posts { get; set; }
}
}