123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Data.Entity;
- using GDNXFD.Data.Model;
- namespace GDNXFD.Data
- {
- public class GDNXFDDbContext : DbContext
- {
- /// <summary>
- /// Constructor
- /// </summary>
- public GDNXFDDbContext()
- : base("ORACLEDBCONTEXT")
- {
- }
- protected override void OnModelCreating(DbModelBuilder modelBuilder)
- {
- modelBuilder.HasDefaultSchema("NXFDPROD"); //SA
- }
- public DbSet<AlertRule> AlertRule { get; set; }
- public DbSet<EquipmentModel> EquipmentModel { get; set; }
- public DbSet<TestingPointAI> TestingPointAI { get; set; }
- public DbSet<TestingPointDI> TestingPointDI { get; set; }
- public DbSet<WarningLevel> WarningLevel { get; set; }
- public DbSet<WindTurbine> WindTurbine { get; set; }
- public DbSet<WindTurbineTestingPointAI> WindTurbineTestingPointAI { get; set; }
- public DbSet<WindTurbineTestingPointDI> WindTurbineTestingPointDI { get; set; }
- public DbSet<AlertHistory> AlertHistory { get; set; }
- public DbSet<DictItem> DataDictionary { get; set; }
- public DbSet<WindPowerStation> WindPowerStation { get; set; }
- public DbSet<Line> Line { get; set; }
- public DbSet<Project> Project { get; set; }
- public DbSet<LevelTypeTestingPoint> LevelTypeTestingPoint { get; set; }
- public DbSet<ElectricalTestingPointAI> ElectricalTestingPointAI { get; set; }
- public DbSet<ElectricalTestingPointDI> ElectricalTestingPointDI { get; set; }
- public DbSet<WindPowerStationTestingPoint> WindPowerStationTestingPoint { get; set; }
- public DbSet<AlertSnap> AlertSnap { get; set; }
- public DbSet<IFixBJTestingPointDI> IFixBJTestingPointDI { get; set; }
- public DbSet<Warning> Warning { get; set; }
- public DbSet<ModelPowerDetails> ModelPowerDetails { get; set; }
- public DbSet<MaintainPlan> MaintainPlan { get; set; }
- public DbSet<ShutdownEvent> ShutdownEvent { get; set; }
- public DbSet<FaultSnap> FaultSnap { get; set; }
- public DbSet<FaultHistory> FaultHistory { get; set; }
- public DbSet<FaultInfo> FaultInfo { get; set; }
- public DbSet<InputOrOutputSpeedTotal> InputOrOutputSpeedTotal { get; set; }
- public DbSet<WindturbineCFTSpeed> WindturbineCFTSpeed { get; set; }
- public DbSet<AlertInfo> AlertInfo { get; set; }
- public DbSet<AdviceHistoryModel> AdviceHistoryModel { get; set; }
- public DbSet<AdviceModel> AdviceModel { get; set; }
- public DbSet<DeviceFault> DeviceFault { get; set; }
- }
- }
|