mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-25 14:53:27 +01:00
21 lines
511 B
C#
21 lines
511 B
C#
|
using JetBrains.Annotations;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace SieveTests.Entities
|
|||
|
{
|
|||
|
public class ApplicationDbContext : DbContext
|
|||
|
{
|
|||
|
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : base(options) { }
|
|||
|
|
|||
|
public DbSet<Post> Posts { get; set; }
|
|||
|
|
|||
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|