StreetLightContext.cs 531 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data.Entity;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Assets.Logging
  8. {
  9. [DbConfigurationType(typeof(StreetLightDbConfiguration))]
  10. internal class StreetLightContext : DbContext
  11. {
  12. public StreetLightContext() : base("Server=(LocalDb)\\MSSQLLocalDB;Database=myDataBase;Trusted_Connection=True;")
  13. {
  14. }
  15. public DbSet<Poco.DetectionFrame> DetectionFrames { get; set; }
  16. }
  17. }