1234567891011121314151617181920212223 |
- using Microsoft.EntityFrameworkCore;
- using Safeguard.Models;
- namespace Safeguard.EntityFramework
- {
- public class Context : DbContext
- {
- public Context(DbContextOptions<Context> options)
- : base(options)
- {
- }
- protected override void OnModelCreating(ModelBuilder modelBuilder)
- {
- base.OnModelCreating(modelBuilder);
- }
- public DbSet<HostMqttInfo> HostMqttInfos { get; set; }
- public DbSet<MCConfig> MCConfigs { get; set; }
- public DbSet<CimPassword> CimPasswords { get; set; }
- }
- }
|