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