20 lines
442 B
C#
20 lines
442 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ISPChk.Models
|
|
{
|
|
public class ISPChkContext : DbContext
|
|
{
|
|
public ISPChkContext(DbContextOptions<ISPChkContext> options)
|
|
: base(options)
|
|
{
|
|
}
|
|
|
|
public DbSet<Host> Hosts { get; set; }
|
|
public DbSet<PingItem> PingItems { get; set; }
|
|
}
|
|
}
|