AutoClutch.AutoService 5.0.0

AutoClutch.AutoRepo and AutoService is a simple generic repository and generic service for Entity Framework 6 that can be used to save you coding time when creating a data layer.

AutoClutch.AutoService is the business logic layer abstraction on top of the repository.

This includes auditing support provided by the 'Tracker-Enabled-DbContext' library.

Also includes Linq.Dynamic support from the Microsoft (MS-PL) library.

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

Release Notes

- v5.0.0
- Added initial support for connecting to OData as a context.
- Incldes the linq2rest library to be able to query OData endpoints with LINQ.

- v4.6.0
- Downgraded .net library requirement to 4.5.0 from 4.5.2 to help compatibility.
- Upgraded dependent nuget packages.

- v4.5.6
- Moved ISoftDeletable interface into the core.

- v4.5.4
- Move IService interface out and over to the Core project.
- Fix error concatenation bug that was preventing errors from being properly added to the Errors property.

- v4.5.3
- Expanded the IValidation interface to handle passing the loggedInUserName, in case this is also used for validation.

- v4.5.2
- Removed requirement that all services must inject a validation service if their IoC container used auto-wires dependencies.

- v4.5.1
- Added a IValidation interface for developers who will want to run validation rules in the IService's Add and Update methods.

- v4.5
- Separated core logic.

- v4.4
 - Updated dll property level versioning information.
 - Upgraded context configuration level handling.
 - Upgraded Tracker Enabled Context.

- v4.3
- Reinserted proxy creation and lazy loading handling back into method level.

- v4.1
- Standardized the namespace naming convention.
- Bug fix for the handling of ProxyCreationEnabled and LazyLoadingEnabled.

- v4.0
- Used virtual keyword to enable inherited members to override service and repository methods.

- v3.15
- Speed improvements
- Run skip, take, distinctby, maxby, in Get() method on the database instead of in memory.

- v3.13
- Speed improvements
- Added core elements for elmah logging service and generic AutoClutch.Auto.Controller

- v3.12
- Some bug fixes.
- All TrackerEnabledDbContext tests are passing.

- v3.10
- Added the ability to use the TrackerEnabledDbContext soft delete feature.

- v3.9
- Instead of throwing an exception when a validation error occurs, add the error to our publicly available error list and return null for Add and Update methods.
- v3.6
- Added public level properties to enable or disable lazy loading and enable or disable proxy creation.

- v3.5
- Added new experimental method Queryable().
- Bug fix for proxyCreation and lazyLoadingEnabled settings in Get() method.

- v3.4
- Added autoDetectChangesEnabled to the parameter list for many of the methods.  This allows an inherited class the ability to tell entity framework whether or not to track the changes in the entity.
- Added EntityAuditLog method to get the history for the entity from the audit library.

- v3.3
- Added tracker-enabled-dbcontext (https://bilal-fazlani.github.io/tracker-enabled-dbcontext), (https://github.com/bilal-fazlani/tracker-enabled-dbcontext) for data audit tracking.
- Added the Linq.Dynamic string query feature to be able to query and orderby based on strings.
- Added the ability to specify if you want lazy loading and/or proxy creation on almost all repository methods.

Version History

Version Downloads Last updated
5.0.0 120 12/6/2018
4.6.0 221 5/9/2018
4.5.6 371 1/27/2017
4.5.5 261 1/26/2017
4.5.3 269 1/19/2017
4.5.2 294 1/19/2017
4.5.1 277 1/18/2017
4.5.0 335 1/5/2017
4.4.0 307 10/3/2016
3.12.0 379 4/18/2016
3.9.0 350 3/22/2016
3.6.0 416 12/17/2015
3.5.1 379 12/8/2015
3.5.0 377 11/25/2015
3.4.0 375 11/16/2015
3.3.0 361 11/15/2015
3.2.0 382 11/13/2015
3.1.0 393 11/9/2015
3.0.0 357 11/9/2015
2.0.0 376 10/20/2015
1.1.0 423 8/24/2015
1.0.7 392 8/7/2015
1.0.6 405 6/15/2015
1.0.5 386 6/15/2015
1.0.4 439 3/13/2015
1.0.3 426 3/1/2015
1.0.2 556 11/26/2014
1.0.1 447 11/26/2014
1.0.0 496 11/25/2014