diff --git a/LICENSE b/LICENSE index a7552ff..1f9d417 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014-2022 Axel Heer +Copyright (c) 2014-2023 Axel Heer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/README.md b/README.md index 3156b6d..fc1170b 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ Again, instead of placing `[InjectLambda]` on everything it's possible to add al Null-safe queries ----------------- -We are writing the year 2022 and still have to worry about null values. +We are writing the year 2023 and still have to worry about null values. Howsoever, we got used to it and we are fine. But writing queries in C# loaded with null checks doesn't feel right, it just looks awful, the translated SQL even gets worse. A LINQ query just for SQL dbs can spare these null checks, a LINQ query just for in-memory calculations must include them. And a LINQ query for both has a problem (unit testing?), which *NeinLinq* tries to solve. diff --git a/global.json b/global.json index 70e3dcc..c3e7120 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "7.0.100" + "version": "7.0.101" } } diff --git a/pack.props b/pack.props index 0bc7c6e..8a16c50 100644 --- a/pack.props +++ b/pack.props @@ -15,7 +15,7 @@ Axel Heer - Copyright © 2014-2022 Axel Heer + Copyright © 2014-2023 Axel Heer NeinLinq provides helpful extensions for using LINQ providers such as Entity Framework that support only a minor subset of .NET functions, reusing functions, rewriting queries, even making them null-safe, and building dynamic queries using translatable predicates and selectors. To support different LINQ implementations, the following flavours are available. Choose at least one. diff --git a/src/NeinLinq.EntityFrameworkCore/NeinLinq.EntityFrameworkCore.csproj b/src/NeinLinq.EntityFrameworkCore/NeinLinq.EntityFrameworkCore.csproj index d79939c..31ea6ed 100644 --- a/src/NeinLinq.EntityFrameworkCore/NeinLinq.EntityFrameworkCore.csproj +++ b/src/NeinLinq.EntityFrameworkCore/NeinLinq.EntityFrameworkCore.csproj @@ -5,11 +5,15 @@ - + - - + + + + + + diff --git a/test/.editorconfig b/test/.editorconfig index 6db8116..4bfd83b 100644 --- a/test/.editorconfig +++ b/test/.editorconfig @@ -6,5 +6,8 @@ dotnet_diagnostic.CA1707.severity = none # Avoid uninstantiated internal classes dotnet_diagnostic.CA1812.severity = none +# Avoid unsealed internal classes +dotnet_diagnostic.CA1852.severity = none + # Do not directly await a Task dotnet_diagnostic.CA2007.severity = none diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 36635b6..00a7ebe 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -8,7 +8,7 @@ - + diff --git a/test/NeinLinq.EntityFramework.Tests/NeinLinq.EntityFramework.Tests.csproj b/test/NeinLinq.EntityFramework.Tests/NeinLinq.EntityFramework.Tests.csproj index 996abe4..07f2e38 100644 --- a/test/NeinLinq.EntityFramework.Tests/NeinLinq.EntityFramework.Tests.csproj +++ b/test/NeinLinq.EntityFramework.Tests/NeinLinq.EntityFramework.Tests.csproj @@ -1,7 +1,7 @@ - + diff --git a/test/NeinLinq.EntityFrameworkCore.Tests/NeinLinq.EntityFrameworkCore.Tests.csproj b/test/NeinLinq.EntityFrameworkCore.Tests/NeinLinq.EntityFrameworkCore.Tests.csproj index 94e8636..affd2c3 100644 --- a/test/NeinLinq.EntityFrameworkCore.Tests/NeinLinq.EntityFrameworkCore.Tests.csproj +++ b/test/NeinLinq.EntityFrameworkCore.Tests/NeinLinq.EntityFrameworkCore.Tests.csproj @@ -1,11 +1,15 @@ - + - - + + + + + + diff --git a/test/NeinLinq.Tests/DynamicExpressionTest.cs b/test/NeinLinq.Tests/DynamicExpressionTest.cs index 2bc00c6..3223601 100644 --- a/test/NeinLinq.Tests/DynamicExpressionTest.cs +++ b/test/NeinLinq.Tests/DynamicExpressionTest.cs @@ -1,5 +1,7 @@ using Xunit; +#pragma warning disable CA1305 + namespace NeinLinq.Tests; public class DynamicExpressionTest diff --git a/test/NeinLinq.Tests/DynamicQueryableTest.cs b/test/NeinLinq.Tests/DynamicQueryableTest.cs index 1f169de..2ff8d03 100644 --- a/test/NeinLinq.Tests/DynamicQueryableTest.cs +++ b/test/NeinLinq.Tests/DynamicQueryableTest.cs @@ -1,6 +1,8 @@ using System.Globalization; using Xunit; +#pragma warning disable CA1305 + namespace NeinLinq.Tests; [CLSCompliant(false)]