Model1.Context.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 examPrepare
  10. {
  11. using System;
  12. using System.Data.Entity;
  13. using System.Data.Entity.Infrastructure;
  14. public partial class UP_41P_GroshevIEntities : DbContext
  15. {
  16. public UP_41P_GroshevIEntities()
  17. : base("name=UP_41P_GroshevIEntities")
  18. {
  19. }
  20. protected override void OnModelCreating(DbModelBuilder modelBuilder)
  21. {
  22. throw new UnintentionalCodeFirstException();
  23. }
  24. public virtual DbSet<DeliveryPoint> DeliveryPoint { get; set; }
  25. public virtual DbSet<Manufacturer> Manufacturer { get; set; }
  26. public virtual DbSet<Order> Order { get; set; }
  27. public virtual DbSet<OrderProduct> OrderProduct { get; set; }
  28. public virtual DbSet<OrderStatus> OrderStatus { get; set; }
  29. public virtual DbSet<Product> Product { get; set; }
  30. public virtual DbSet<ProductCategory> ProductCategory { get; set; }
  31. public virtual DbSet<ProductVendor> ProductVendor { get; set; }
  32. public virtual DbSet<Role> Role { get; set; }
  33. public virtual DbSet<sysdiagrams> sysdiagrams { get; set; }
  34. public virtual DbSet<User> User { get; set; }
  35. }
  36. }