EDennis.EFBase 2.3.0

Provides a SqlRepo for Entity Framework targeting SQL Server 2016+.  The SqlRepo class includes various CRUD methods, including methods that take a LINQ expression for filtering records.  SqlRepo supports auto-rollback transactions and sequence resetting for testing scenarios.

Install-Package EDennis.EFBase -Version 2.3.0
dotnet add package EDennis.EFBase --version 2.3.0
<PackageReference Include="EDennis.EFBase" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EDennis.EFBase --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EFBase Wiki

The EFBase package provides a SqlRepo for Entity Framework targeting SQL Server 2016+. The SqlRepo class includes methods for creating, reading (by PK), updating, and deleting -- both synchronously and asynchronously. The following classes are included:

  1. SqlRepo -- which provides the base repository class.
  2. TestingTransaction -- which wraps a DbTransaction and provides the ability for a single transaction to be attached to multiple contexts and which can be configured to automatically roll back upon disposal.
  3. SequenceResetter-- which provides a method for resetting all sequences in a database.
  4. SqlExecutor -- which provides methods for executing multiple SQL statement blocks separated by GO.
  5. UnitTestBase -- which provides a base class that allows Xunit tests that use SqlRepo and TestingTransaction to automatically roll back after each test case.
  6. IntegrationTestBase -- which which is like the UnitTestBase class, but which does not autorollback on Dispose().

EFBase Wiki

The EFBase package provides a SqlRepo for Entity Framework targeting SQL Server 2016+. The SqlRepo class includes methods for creating, reading (by PK), updating, and deleting -- both synchronously and asynchronously. The following classes are included:

  1. SqlRepo -- which provides the base repository class.
  2. TestingTransaction -- which wraps a DbTransaction and provides the ability for a single transaction to be attached to multiple contexts and which can be configured to automatically roll back upon disposal.
  3. SequenceResetter-- which provides a method for resetting all sequences in a database.
  4. SqlExecutor -- which provides methods for executing multiple SQL statement blocks separated by GO.
  5. UnitTestBase -- which provides a base class that allows Xunit tests that use SqlRepo and TestingTransaction to automatically roll back after each test case.
  6. IntegrationTestBase -- which which is like the UnitTestBase class, but which does not autorollback on Dispose().

Release Notes

Updated to SDK version 2.2.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.3.0 169 1/16/2019
2.2.0 125 11/8/2018
2.1.9 142 10/22/2018
2.1.8 184 8/17/2018
2.1.7 189 7/30/2018
2.1.6 172 7/30/2018
1.3.4 184 7/23/2018
1.3.3 260 7/12/2018
1.3.2 214 7/12/2018
1.3.1 216 7/11/2018
1.3.0 242 6/6/2018
1.2.8 235 4/30/2018
1.2.7 262 4/26/2018
1.2.6 250 4/24/2018
1.2.5 230 4/23/2018
1.2.4 217 4/23/2018
1.2.3 257 4/22/2018
1.2.2 317 4/21/2018
1.2.1 224 3/22/2018
1.2.0 228 3/22/2018
1.1.2 307 3/13/2018
1.1.1 314 3/13/2018
1.1.0 259 3/12/2018
1.0.2 982 3/12/2018
1.0.1 1,771 3/12/2018
1.0.0 1,909 3/12/2018
0.1.2 206 3/10/2018
0.1.1 361 3/10/2018
0.1.0 211 3/10/2018
0.0.5-alpha 270 3/8/2018
0.0.4-alpha 217 2/13/2018
0.0.3-alpha 217 1/22/2018