Commit d2ee1dba authored by CompileNix's avatar CompileNix

Fix reference to get EntityFramework.SqlServer.dll

parent ac74deae
......@@ -38,6 +38,10 @@
<HintPath>..\..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="JetBrains.Annotations, Version=10.2.1.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
<HintPath>..\..\packages\JetBrains.Annotations.10.2.1\lib\net\JetBrains.Annotations.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="log4net, Version=2.0.7.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\..\packages\log4net.2.0.7\lib\net45-full\log4net.dll</HintPath>
<Private>True</Private>
......
......@@ -3,11 +3,15 @@ using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Data.Entity.SqlServer;
using Compilenix.HttpHeaderSurvey.Integration.DataAccess.Entitys;
using JetBrains.Annotations;
namespace Compilenix.HttpHeaderSurvey.Implementation.DataAccess
{
public class DataAccessContext : DbContext
{
[UsedImplicitly]
private static Type ByteChecksum => typeof(SqlFunctions);
public DbSet<RequestJob> RequestJobs { get; set; }
public DbSet<RequestHeader> RequestHeaders { get; set; }
public DbSet<ApplicationLog> ApplicationLogs { get; set; }
......@@ -16,8 +20,6 @@ namespace Compilenix.HttpHeaderSurvey.Implementation.DataAccess
public DataAccessContext() : base("name=DataAccessContext")
{
// ReSharper disable once UnusedVariable
var sqlfunctions = typeof(SqlFunctions);
Configuration.LazyLoadingEnabled = false;
}
......
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="EntityFramework" version="6.1.3" targetFramework="net461" />
<package id="JetBrains.Annotations" version="10.2.1" targetFramework="net461" />
<package id="log4net" version="2.0.7" targetFramework="net461" />
</packages>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment