Sieve/Sieve.Sample/Entities/ApplicationDbContext.cs

16 lines
387 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 Sieve.Sample.Entities
2018-01-27 06:20:57 +01:00
{
2019-11-17 00:15:07 +01: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)
{
}
}
}