Model1.Context.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 CopyCenterTests
  10. {
  11. using System;
  12. using System.Data.Entity;
  13. using System.Data.Entity.Infrastructure;
  14. public partial class gr672_liiEntities1 : DbContext
  15. {
  16. public gr672_liiEntities1()
  17. : base("name=gr672_liiEntities1")
  18. {
  19. }
  20. protected override void OnModelCreating(DbModelBuilder modelBuilder)
  21. {
  22. throw new UnintentionalCodeFirstException();
  23. }
  24. public virtual DbSet<Card> Cards { get; set; }
  25. public virtual DbSet<CategoryService> CategoryServices { get; set; }
  26. public virtual DbSet<Client> Clients { get; set; }
  27. public virtual DbSet<Discount> Discounts { get; set; }
  28. public virtual DbSet<Order> Orders { get; set; }
  29. public virtual DbSet<Payment> Payments { get; set; }
  30. public virtual DbSet<Service> Services { get; set; }
  31. public virtual DbSet<User> Users { get; set; }
  32. }
  33. }