diff --git a/.gitignore b/.gitignore index 5d3e32a..2904674 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.pfx *.snk Z.Lab/ +Z.Lab.VB/ # Search Cache dump files Cache-*-*-*-*-* diff --git a/src/EntityFramework.DynamicFilters.sln b/src/EntityFramework.DynamicFilters.sln index 2c70096..ba581e0 100644 --- a/src/EntityFramework.DynamicFilters.sln +++ b/src/EntityFramework.DynamicFilters.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 15 -VisualStudioVersion = 15.0.26730.12 +VisualStudioVersion = 15.0.27004.2005 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFramework.DynamicFilters", "EntityFramework.DynamicFilters\EntityFramework.DynamicFilters.csproj", "{56E36AD1-E675-42F0-96CB-7F475E05E491}" EndProject @@ -19,6 +19,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DynamicFiltersTests", "Dyna EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Z.Lab", "Z.Lab\Z.Lab.csproj", "{72DAF92D-633B-44DE-A55C-F6CD10BE15F0}" EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Z.Lab.VB", "Z.Lab.VB\Z.Lab.VB.vbproj", "{6D24EDDC-96C8-495F-B1D2-0BFB74654173}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -41,6 +43,10 @@ Global {72DAF92D-633B-44DE-A55C-F6CD10BE15F0}.Debug|Any CPU.Build.0 = Debug|Any CPU {72DAF92D-633B-44DE-A55C-F6CD10BE15F0}.Release|Any CPU.ActiveCfg = Release|Any CPU {72DAF92D-633B-44DE-A55C-F6CD10BE15F0}.Release|Any CPU.Build.0 = Release|Any CPU + {6D24EDDC-96C8-495F-B1D2-0BFB74654173}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D24EDDC-96C8-495F-B1D2-0BFB74654173}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D24EDDC-96C8-495F-B1D2-0BFB74654173}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D24EDDC-96C8-495F-B1D2-0BFB74654173}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/EntityFramework.DynamicFilters/LambdaToDbExpressionVisitor.cs b/src/EntityFramework.DynamicFilters/LambdaToDbExpressionVisitor.cs index 97b2955..18488e7 100644 --- a/src/EntityFramework.DynamicFilters/LambdaToDbExpressionVisitor.cs +++ b/src/EntityFramework.DynamicFilters/LambdaToDbExpressionVisitor.cs @@ -458,6 +458,7 @@ protected override Expression VisitUnary(UnaryExpression node) MapExpressionToDbExpression(expression, DbExpressionBuilder.Not(operandExpression)); break; case ExpressionType.Convert: + case ExpressionType.ConvertChecked: MapExpressionToDbExpression(expression, DbExpressionBuilder.CastTo(operandExpression, TypeUsageForPrimitiveType(expression.Type))); break; default: diff --git a/src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs b/src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs index fc836e2..b4aa28b 100644 --- a/src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs +++ b/src/EntityFramework.DynamicFilters/Properties/AssemblyInfo.cs @@ -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.0.0")] -[assembly: AssemblyFileVersion("3.0.0")] -[assembly: AssemblyInformationalVersion("3.0.0")] +[assembly: AssemblyVersion("3.0.1")] +[assembly: AssemblyFileVersion("3.0.1")] +[assembly: AssemblyInformationalVersion("3.0.1")]