Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
Update #283 - Updated compiler directives for EF6 only code
Browse files Browse the repository at this point in the history
  • Loading branch information
avanderhoorn committed Mar 21, 2013
1 parent 2f391b4 commit 3f2b13d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion source/Glimpse.EF/AlternateType/GlimpseDbConfiguration.cs
@@ -1,4 +1,4 @@
using System.Data.Common;
#if EF6Plus
using System.Data.Entity.Config;

namespace Glimpse.EF.AlternateType
Expand All @@ -11,3 +11,4 @@ public GlimpseDbConfiguration()
}
}
}
#endif
@@ -1,4 +1,5 @@
using System;
#if EF6Plus
using System;
using System.Data.Entity.Config;
using System.Data.Entity.Core.Common;
using System.Data.Entity.Infrastructure;
Expand Down Expand Up @@ -58,4 +59,5 @@ public object GetService(Type type, object key)
return null;
}
}
}
}
#endif
@@ -1,4 +1,5 @@
using System.Data.Common;
#if EF6Plus
using System.Data.Common;
using System.Data.Entity.Infrastructure;
using Glimpse.Ado.AlternateType;

Expand All @@ -20,4 +21,5 @@ public DbProviderFactory GetProviderFactory(DbConnection connection)
return factory.WrapProviderFactory();
}
}
}
}
#endif

0 comments on commit 3f2b13d

Please sign in to comment.