1234567891011121314151617181920212223242526272829303132 |
- using IMCS.CCS.Entitys;
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace IMCS.CCS.Repository
- {
- public class CcsContext : DbContext
- {
- public CcsContext(DbContextOptions<CcsContext> options)
- : base(options)
- {
- }
- public DbSet<User> User { get; set; }
- public DbSet<IMCS.CCS.Entitys.Device> Device { get; set; }
- public DbSet<EquipmentMonitor> EquipmentMonitor { get; set; }
- public DbSet<TaskCallback> TaskCallback { get; set; }
- public DbSet<ToolDto> Dictionary { get; set; }
- public DbSet<CcsAction> CcsAction { get; set; }
- public DbSet<CcsTagValue> CcsTagValue { get; set; }
- }
- }
|