Utility classes for working with databases. There is an implementation for Sql Server, but other databases can be easily made to work by creating a vendor specific implementation of BaDatabase.

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

Release Notes

- Project renamed from BizArk.Data.SqlServer to just BizArk.Data (can now support other databases, though SqlServer is the only implementation).
- Using base database classes (such as DbConnection instead of SqlConnection) within BaDatabase.
- Removed BaRepository. Instead, added IBaRepository interface that is implemented by BaDatabase. The intent is for database developers to create a static class with extension methods for IBaRepository. This simplifies object management and enforces good practices for the repository (stateless methods).
- Moved CRUD methods into an extension class to simplify BaDatabase. BaDatabaseCrud defines extension methods for BaDatabase. Import the namespace BizArk.Data.SqlServer.Crud to use these methods.

- All BaDatabase operations should have an Async version available.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 83 5/22/2019 130 12/7/2018