Browse Source

Remove entity framework stuff

Danghor 2 years ago
parent
commit
a8f8a17801
2 changed files with 0 additions and 31 deletions
  1. 0 18
      Assets/Logging/StreetLightContext.cs
  2. 0 13
      Assets/Logging/StreetLightDbConfiguration.cs

+ 0 - 18
Assets/Logging/StreetLightContext.cs

@@ -1,18 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Data.Entity;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Assets.Logging
-{
-    [DbConfigurationType(typeof(StreetLightDbConfiguration))]
-    internal class StreetLightContext : DbContext
-    {
-        public StreetLightContext() : base("Server=(LocalDb)\\MSSQLLocalDB;Database=myDataBase;Trusted_Connection=True;")
-        {
-        }
-        public DbSet<Poco.DetectionFrame> DetectionFrames { get; set; }
-    }
-}

+ 0 - 13
Assets/Logging/StreetLightDbConfiguration.cs

@@ -1,13 +0,0 @@
-using System.Data.Entity;
-
-namespace Assets.Logging
-{
-    public class StreetLightDbConfiguration : DbConfiguration
-    {
-        public StreetLightDbConfiguration()
-        {
-            //System.InvalidOperationException: The requested .Net Framework Data Provider's implementation does not have an Instance field of a System.Data.Common.DbProviderFactory derived type
-            //this.SetProviderFactory("", )
-        }
-    }
-}