add openhack files
This commit is contained in:
15
apis/poi/web/Data/POIContext.cs
Normal file
15
apis/poi/web/Data/POIContext.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using poi.Models;
|
||||
|
||||
namespace poi.Data
|
||||
{
|
||||
public class POIContext : DbContext
|
||||
{
|
||||
public POIContext(DbContextOptions<POIContext> options) : base(options)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DbSet<POI> POIs { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user