Sieve/SieveTests/Entities/ApplicationDbContext.cs

16 lines
382 B
C#
Raw Normal View History

2018-05-15 01:34:37 +02:00
using Microsoft.EntityFrameworkCore;
2018-01-27 06:20:57 +01:00
namespace SieveTests.Entities
{
2018-05-15 01:34:37 +02:00
public class ApplicationDbContext : DbContext
2018-01-27 06:20:57 +01:00
{
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { }
public DbSet<Post> Posts { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
}
}
}