![]() |
VOOZH | about |
dotnet add package Gasolutions.Core.GenericRepository --version 1.0.10.8
NuGet\Install-Package Gasolutions.Core.GenericRepository -Version 1.0.10.8
<PackageReference Include="Gasolutions.Core.GenericRepository" Version="1.0.10.8" />
<PackageVersion Include="Gasolutions.Core.GenericRepository" Version="1.0.10.8" />Directory.Packages.props
<PackageReference Include="Gasolutions.Core.GenericRepository" />Project file
paket add Gasolutions.Core.GenericRepository --version 1.0.10.8
#r "nuget: Gasolutions.Core.GenericRepository, 1.0.10.8"
#:package Gasolutions.Core.GenericRepository@1.0.10.8
#addin nuget:?package=Gasolutions.Core.GenericRepository&version=1.0.10.8Install as a Cake Addin
#tool nuget:?package=Gasolutions.Core.GenericRepository&version=1.0.10.8Install as a Cake Tool
GenericRepository defines the interfaces necessary to implement the Generic Repository pattern.
• What it does: Abstracts data access behind interfaces (IReadGenericRepository, IReadGenericRepository<T,TKey>, IWriteGenericRepository). • Purpose: Separates data access logic from business logic, facilitates testing, and enables the exchange of persistence technologies. • Benefits: DAL independence, ease of dependency injection, and unit testing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on Gasolutions.Core.GenericRepository:
| Package | Downloads |
|---|---|
|
Gasolutions.Core.GenericRepository.RepoDB
Interface and Implementation for a generic repository using RepoDB. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.10.8 | 93 | 4/27/2026 |
| 1.0.10.7 | 98 | 4/27/2026 |
| 1.0.10.6 | 129 | 4/9/2026 |
| 1.0.10.5 | 114 | 4/9/2026 |
| 1.0.10.4 | 118 | 4/9/2026 |
| 1.0.10.3 | 127 | 3/24/2026 |
| 1.0.10.2 | 115 | 3/24/2026 |
| 1.0.10.1 | 104 | 3/24/2026 |
| 1.0.10 | 103 | 3/24/2026 |
| 1.0.9.6 | 120 | 3/20/2026 |
| 1.0.9.4 | 193 | 3/14/2026 |
| 1.0.9.3 | 162 | 3/14/2026 |
| 1.0.9 | 164 | 3/13/2026 |
| 1.0.8.1 | 144 | 2/19/2026 |
# Changelog - Gasolutions.Core.GenericRepository
## [1.0.10.8]
### Changed
-- Updated `Max` method in `IReadGenericRepositoryT` interface to return nullable `TKey` with transaction mode, enhancing the method's flexibility and allowing for better handling of scenarios where a maximum value may not exist or when transactions are involved, thus improving the robustness and reliability of data retrieval operations in applications using this repository.
## [1.0.10.7]
### Changed
- Added `Max` method in `IReadGenericRepositoryT` interface to return nullable `TKey` without transaction mode.
## [1.0.10.6]
### Changed
- Bug correction in ExecuteScalar method of `IGenericRepository` interface to ensure proper handling of null values and exceptions, improving the robustness and reliability of scalar query executions in applications using this repository.
## [1.0.10.5]
### Changed
- Addded transaction support to ExecuteScalar method in `IGenericRepository` interface, allowing for better control over database operations and ensuring data integrity during complex transactions. This enhancement enables developers to execute scalar queries within a transactional context, providing the ability to commit or roll back changes based on the success or failure of the operations, thus improving the robustness and reliability of data interactions in applications using this repository.
## [1.0.10.4]
### Added
- Add ExecuteScalar method to `IGenericRepository` interface for executing scalar queries.
-
## [1.0.10.3]
### Changed
- Deleted entity field from Max method.
## [1.0.10.2]
### Changed
- Changed ´Max´ method adding field name and additional criteria, removing previous versions.
## [1.0.10.1]
### Changed
- Changed the return type of Max methods to support nullable values.
## [1.0.10.0]
### Added
- Added 'Max' method to `IGenericRepository` interface for retrieving the maximum value of a specified column in a table, enhancing data analysis capabilities.
## [1.0.9.6]
### Added
- Added Delete method with transaction support to `IGenericRepository` interface for enhanced data integrity during delete operations.
## [1.0.9.4]
### Fixed
- Count methods now return long type to accommodate large record counts and prevent overflow issues
## [1.0.9.3]
### Added
- Add Count methods to `IGenericRepository` interface for counting records in a table.
-
## [1.0.9.0]
### Changed
- Add BulkInsert method to `IGenericRepository` interface for efficient batch operations
## [1.0.8.1]
### Changed
- Implementations were moved to a separate project `Gasolutions.Core.GenericRepository.RepoDB` to improve modularity and maintainability
- Changed name from `Gasolutions.Core.Repository` to `Gasolutions.Core.GenericRepository`
## [1.0.7]
### Added
- Comprehensive XML documentation for all repository interfaces and implementations
- Async operation support with `QueryAsync()` method
- Enhanced factory pattern interfaces for repository creation
- Complete test suite with 36+ test cases
- Support for cancellation tokens in async operations
- Configuration interfaces for advanced repository patterns
- RepoDB initialization in test suite
### Changed
- Updated LangVersion to 13.0
- Updated Description to English for international audience
- Improved error handling in repository implementations
- Enhanced nullability annotations for better type safety
- Refactored copyright headers to English
### Fixed
- Repository initialization with RepoDB
- Connection string validation
- Null parameter handling in repository methods
### Documentation
- Added comprehensive API documentation
- Created test suite documentation (README.md)
- Improved inline code comments in English
---
## [1.0.6]
### Initial Release
- Generic repository interface `IReadGenericRepository<T>`
- RepoDB implementation for SQL Server
- Basic read operations with JSON return types
- Write operations (insert, update, delete)
- Connection string management