Skip to content

Commit

Permalink
update assembly version + fix issue with HistoryContext
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMagnan committed Sep 17, 2021
1 parent c7549aa commit b3eda0e
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Authors>EntityFramework.DynamicFilters</Authors>
<Product>EntityFramework.DynamicFilters</Product>
<Company>ZZZ Projects</Company>
<Version>3.2.0</Version>
<Version>3.2.1</Version>
<Copyright>Copyright © ZZZ Projects, John Cachat</Copyright>
<AssemblyName>EntityFramework.DynamicFilters</AssemblyName>
<RootNamespace>EntityFramework.DynamicFilters</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Data.Entity.Core.Common.CommandTrees;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure.Interception;
using System.Data.Entity.Migrations.History;
using System.Linq;

namespace EntityFramework.DynamicFilters
Expand All @@ -16,6 +17,9 @@ public void TreeCreated(DbCommandTreeInterceptionContext interceptionContext)
var context = interceptionContext.DbContexts.FirstOrDefault();
if (context != null)
{
// https://github.com/zzzprojects/EntityFramework.DynamicFilters/issues/153
if (context is HistoryContext) return;

DbExpressionVisitor<DbExpression> visitor;
#if (USE_CSPACE)
// Intercepting CSpace instead of SSpace gives us access to all of the navigation properties
Expand Down
6 changes: 3 additions & 3 deletions src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.2.0")]
[assembly: AssemblyFileVersion("3.2.0")]
[assembly: AssemblyInformationalVersion("3.2.0")]
[assembly: AssemblyVersion("3.2.1")]
[assembly: AssemblyFileVersion("3.2.1")]
[assembly: AssemblyInformationalVersion("3.2.1")]
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Z.EntityFramework.Classic.DynamicFilters.Net40")]
[assembly: AssemblyTitle("Z.EntityFramework.Classic.DynamicFilters")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Z.EntityFramework.Classic.DynamicFilters.Net40")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyCompany("ZZZ Projects")]
[assembly: AssemblyProduct("Z.EntityFramework.Classic.DynamicFilters")]
[assembly: AssemblyCopyright("ZZZ Projects")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,5 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("3.2.1")]
[assembly: AssemblyFileVersion("3.2.1")]
[assembly: AssemblyInformationalVersion("3.2.1")]
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<RootNamespace>Z.EntityFramework.Classic.DynamicFilters</RootNamespace>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>zzzproject.pfx</AssemblyOriginatorKeyFile>
<Version>3.2.1</Version>
<Company>ZZZ Projects</Company>
<Copyright>ZZZ Projects</Copyright>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down

0 comments on commit b3eda0e

Please sign in to comment.