Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CacheEntities.Context.cs 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  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 iiie.CacheControl.DataAccess
  10. {
  11. using System;
  12. using System.Data.Entity;
  13. using System.Data.Entity.Infrastructure;
  14. public partial class CacheControlEntities : DbContext
  15. {
  16. public CacheControlEntities()
  17. : base("name=CacheControlEntities")
  18. {
  19. }
  20. public CacheControlEntities(String connectionString)
  21. : base(connectionString)
  22. {
  23. }
  24. protected override void OnModelCreating(DbModelBuilder modelBuilder)
  25. {
  26. throw new UnintentionalCodeFirstException();
  27. }
  28. public virtual DbSet<T_Cache> T_Cache { get; set; }
  29. }
  30. }