BaseModel.Context.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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 APICancelar.Entities
  10. {
  11. using System;
  12. using System.Data.Entity;
  13. using System.Data.Entity.Infrastructure;
  14. public partial class Cancelar2024Entities : DbContext
  15. {
  16. public Cancelar2024Entities()
  17. : base("name=Cancelar2024Entities")
  18. {
  19. }
  20. protected override void OnModelCreating(DbModelBuilder modelBuilder)
  21. {
  22. throw new UnintentionalCodeFirstException();
  23. }
  24. public virtual DbSet<Manufacturer> Manufacturers { get; set; }
  25. public virtual DbSet<Product> Products { get; set; }
  26. public virtual DbSet<sysdiagram> sysdiagrams { get; set; }
  27. }
  28. }