FoghornModel.Context.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace Foghorn.Core
  10. {
  11. using System;
  12. using System.Data.Entity;
  13. using System.Data.Entity.Infrastructure;
  14. public partial class FoghornEntities : DbContext
  15. {
  16. public FoghornEntities()
  17. : base("name=FoghornEntities")
  18. {
  19. }
  20. protected override void OnModelCreating(DbModelBuilder modelBuilder)
  21. {
  22. throw new UnintentionalCodeFirstException();
  23. }
  24. public DbSet<Subscriber> Subscribers { get; set; }
  25. public DbSet<Notification> Notifications { get; set; }
  26. public DbSet<SendingApplication> SendingApplications { get; set; }
  27. public DbSet<NotificationType> NotificationTypes { get; set; }
  28. }
  29. }