Initial commit
هذا الالتزام موجود في:
12
Data/AppDbContext.cs
Normal file
12
Data/AppDbContext.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WondersAPI.Models;
|
||||
|
||||
namespace WondersAPI.Data
|
||||
{
|
||||
public class AppDbContext : DbContext
|
||||
{
|
||||
public DbSet<Wonder> Wonders => Set<Wonder>();
|
||||
|
||||
public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
|
||||
}
|
||||
}
|
المرجع في مشكلة جديدة
حظر مستخدم