first commit
This commit is contained in:
11
ServiceManager.API/AppDbContext.cs
Normal file
11
ServiceManager.API/AppDbContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ServiceManager.API.Models;
|
||||
|
||||
namespace ServiceManager.API
|
||||
{
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
||||
public DbSet<Article> Articles { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user