- Upgraded SonarAnalyzer, EF Core and MSTest Nuget packages.
- Added new Case Insensitivity Extensions which provide an upgrade to SQLite's NoCase collation and methods to set a case insensitive default collation sequence.
- Updated the MSTest Nuget package.
- More Test refactoring and tidying.
- Fixed issue where
ExecuteUpdateGetRows
was not finding any rows to update due to an issue with parameter types when run against SQLite.
- Updated copyright date to 2025.
- Upgraded SonarAnalyzer, EF Core and MSTest Nuget packages.
- Breaking Change Moved extensions into Extension namespace and general code into Classes.
- Breaking Change Renamed UniqueConstraintInterceptor to UniqueConstraintSaveChangesInterceptor.
- Breaking Change Change the DatabaseType to a string rather than an enum (This makes it easier to pass values about with needing a dependency on EntityFrameworkCore.Extensions).
- General source code tidying including standardising regions.
- Replaced Lambda methods with block methods for consistency and ease of adding guard clauses later.
- Breaking Change Replaced
params object[]
parameter in methods withparams IEnumerable<object>
. Removed the existing query methods that tookIQueryable<object>
as the parameters collection as they are now redundant. - Added new
ExecuteInsert
methods that take a generic parameter and return a key of this type (Kept the existing methods that return along
for convienience). - Breaking Change Renamed
ExecuteUpdate
toExecuteUpdateGetCount
and added newExecuteUpdateGetRows
methods which return the rows updated instead of a count. - Switched from using a .ruleset file for source analysis to .editorconfig.
- Added new
ExecuteQuery
methods that take a generic entity parameter and return a list of the entities. - Added new
ExecutePagedQuery
methods that take a generic entity parameter and return a list of the entities in the QueryPage object. - Made generic parameter names in source code consistent:
<T>
= General type.
<TEntity>
= Entity type.
<TProperty>
= Property type (used in execute update code only). - Added guard clauses to public methods.
- Breaking Change Removed TableExists methods as these did not support schemas and can be easily replicated in standard EF Core.
- Enabled nullable reference types in both projects and corrected any issues associated with this.
- Breaking Change Removed
DbContext GetContext<TEntity>(this IQueryable<TEntity> query)
as it required a reflection hack which made it unsupportable between EF versions. - Breaking Change Altered
GetUniqueConstraintDetails
andGetUniqueConstraintDetailsAsync
to take the database facade as their first parameter. - Refactored tests to make the results easier to read.
- Fixed issue with GetContext() where it only worked for
DbSet<>
objects and notIQueryable<>
. - Upgraded SonarAnalyzer.
- Upgraded solution to .Net 9, Entity Framework Core to 9 and MSTest Nuget packages.
- Upgraded solution to .Net 8, Entity Framework Core to 8.0.8, SonarAnalyzer, StyleCop and MSTest Nuget packages.
- Fixed style checker errors.
- Split test methods into sync and async tests rather than using one method.
- Made test names more logical.
- Removed Interpolated and Raw suffixes from query method names. For example ExecuteScalarRaw and ExecuteScalarInterpolated are both now known as ExecuteScalar and the compiler chooses the correct method to use based on the parameters (method overloading).
- Upgraded SonarAnalyzer and MSTest Nuget packages.
- Tidied up projects and style checker settings.
- Added new methods to the Execute SQL Extensions that take an
IEnumerable<object>
as a parameter instead ofparams object[]
. - Added new tests for Execute SQL Extensions that take an
IEnumerable<object>
. - Refactored and tidied up existing test code to make it more consistent.
- Upgraded Entity Framework Core to version 7.0.5 and SonarAnalyzer packages.
- Upgraded Entity Framework Core to version 7.0.4, SonarAnalyzer and MSTest Nuget packages.
- Remove unnecessary generic constraint from GetContext.
- Upgraded Entity Framework Core to version 7.0.2, SonarAnalyzer and MSTest Nuget packages.
- Added new GetContext extension to get the DbContext from an IQueryable object.
- Standardised and removed superfluous message from UniqueConstraintException.
- Added missing cancellationToken parameter to ExecuteUpdateAsync.
- Upgraded solution to .Net 7, Entity Framework Core to 7.0.0.
- Upgraded SonarAnalyzer.
- Added ExecuteUpdate extensions.
- Standardised exception message in UniqueConstraintException.
- Corrected namespace issue that broke existing clients.
- Upgraded Entity Framework Core to version 6.0.10.
- Added interceptor and extensions to capture and process unique constraint exceptions.
- Upgraded Entity Framework Core to version 6.0.9, SonarAnalyzer and MSTest Nuget packages.
- Added extension methods to check the existance of a specified database or table.
- Refactored the private query methods held in QueryExtensions into a new class called QueryMethods and made them internal so they can be called from other extension classes in the project.
- Upgraded Entity Framework Core to version 6.0.5, SonarAnalyzer and MSTest Nuget packages.
- Changed namespaces to be file scoped.
- Upgraded SonarAnalyzer and MSTest Nuget packages.
- Minor code change in QueryExtensions LimitQuery to remove duplicated code.
- Upgraded Entity Framework Core to version 6.0.4, SonarAnalyzer and MSTest Nuget packages.
- Changed project from using to using for compatibility with new internal packaging script.
- Upgraded Entity Framework Core to version 6.0.3 and SonarAnalyzer Nuget packages.
- Upgraded SonarAnalyzer.CSharp package and tidied up properties in project files.
- Corrected typo in package company name.
- Upgraded Entity Framework Core to version 6.0.2 and Nuget packages used by the tests to the latest versions
- Added Style Checkers and rules
- Turned on Treat Warnings as Errors
- Fixed any errors raised by the Style Checkers
Added GetDatabaseType extension method for MigrationBuilder objects.
- Minor code refactoring.
- Upgraded project so it builds a Nuget package.
- Added support for SQL Server.
- Upgraded Entity Framework Core to version 6.0.1
- Upgraded solution to .Net 6, Entity Framework Core to 6.0.0 and Nuget packages used by the tests to the latest versions
- Upgraded Entity Framework Core to version 5.0.11 and Nuget packages used by the tests to the latest versions
- Upgraded Entity Framework Core to version 5.0.9 and Nuget packages used by the tests to the latest versions
- Upgraded Entity Framework Core to version 5.0.8 and Nuget packages used by the tests to the latest versions
- Upgraded Entity Framework Core to version 5.0.7 and Nuget packages used by the tests to the latest versions
- Upgraded Entity Framework Core to version 5.0.6
- Upgraded Nuget packages.
- Initial release.