Skip to content

Commit b3eda0e

Browse files
update assembly version + fix issue with HistoryContext
1 parent c7549aa commit b3eda0e

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

src/EntityFramework.DynamicFilters.NetStandard21/EntityFramework.DynamicFilters.NetStandard21.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Authors>EntityFramework.DynamicFilters</Authors>
1010
<Product>EntityFramework.DynamicFilters</Product>
1111
<Company>ZZZ Projects</Company>
12-
<Version>3.2.0</Version>
12+
<Version>3.2.1</Version>
1313
<Copyright>Copyright © ZZZ Projects, John Cachat</Copyright>
1414
<AssemblyName>EntityFramework.DynamicFilters</AssemblyName>
1515
<RootNamespace>EntityFramework.DynamicFilters</RootNamespace>

src/EntityFramework.DynamicFilters.Shared/DynamicFilterInterceptor.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Data.Entity.Core.Common.CommandTrees;
33
using System.Data.Entity.Core.Metadata.Edm;
44
using System.Data.Entity.Infrastructure.Interception;
5+
using System.Data.Entity.Migrations.History;
56
using System.Linq;
67

78
namespace EntityFramework.DynamicFilters
@@ -16,6 +17,9 @@ public void TreeCreated(DbCommandTreeInterceptionContext interceptionContext)
1617
var context = interceptionContext.DbContexts.FirstOrDefault();
1718
if (context != null)
1819
{
20+
// https://github.com/zzzprojects/EntityFramework.DynamicFilters/issues/153
21+
if (context is HistoryContext) return;
22+
1923
DbExpressionVisitor<DbExpression> visitor;
2024
#if (USE_CSPACE)
2125
// Intercepting CSpace instead of SSpace gives us access to all of the navigation properties

src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.2.0")]
36-
[assembly: AssemblyFileVersion("3.2.0")]
37-
[assembly: AssemblyInformationalVersion("3.2.0")]
35+
[assembly: AssemblyVersion("3.2.1")]
36+
[assembly: AssemblyFileVersion("3.2.1")]
37+
[assembly: AssemblyInformationalVersion("3.2.1")]

src/Z.EntityFramework.Classic.DynamicFilters.Net40/Properties/AssemblyInfo.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("Z.EntityFramework.Classic.DynamicFilters.Net40")]
8+
[assembly: AssemblyTitle("Z.EntityFramework.Classic.DynamicFilters")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("Z.EntityFramework.Classic.DynamicFilters.Net40")]
13-
[assembly: AssemblyCopyright("Copyright © 2021")]
11+
[assembly: AssemblyCompany("ZZZ Projects")]
12+
[assembly: AssemblyProduct("Z.EntityFramework.Classic.DynamicFilters")]
13+
[assembly: AssemblyCopyright("ZZZ Projects")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("3.2.1")]
36+
[assembly: AssemblyFileVersion("3.2.1")]
37+
[assembly: AssemblyInformationalVersion("3.2.1")]

src/Z.EntityFramework.Classic.DynamicFilters.NetStandard20/Z.EntityFramework.Classic.DynamicFilters.NetStandard20.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<RootNamespace>Z.EntityFramework.Classic.DynamicFilters</RootNamespace>
77
<SignAssembly>true</SignAssembly>
88
<AssemblyOriginatorKeyFile>zzzproject.pfx</AssemblyOriginatorKeyFile>
9+
<Version>3.2.1</Version>
10+
<Company>ZZZ Projects</Company>
11+
<Copyright>ZZZ Projects</Copyright>
912
</PropertyGroup>
1013

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

0 commit comments

Comments
 (0)