Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
14
Repositories/PostContext.cs
Normal file
14
Repositories/PostContext.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Auth.api.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Auth.api.Repositories
|
||||
{
|
||||
public class PostContext : DbContext
|
||||
{
|
||||
public DbSet<Post> Posts { get; set; }
|
||||
|
||||
public PostContext( DbContextOptions<PostContext> options )
|
||||
: base(options)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user