Gasolutions.Core.GenericRepository 1.0.9.4

dotnet add package Gasolutions.Core.GenericRepository --version 1.0.9.4
                    
NuGet\Install-Package Gasolutions.Core.GenericRepository -Version 1.0.9.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gasolutions.Core.GenericRepository" Version="1.0.9.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gasolutions.Core.GenericRepository" Version="1.0.9.4" />
                    
Directory.Packages.props
<PackageReference Include="Gasolutions.Core.GenericRepository" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gasolutions.Core.GenericRepository --version 1.0.9.4
                    
#r "nuget: Gasolutions.Core.GenericRepository, 1.0.9.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gasolutions.Core.GenericRepository@1.0.9.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gasolutions.Core.GenericRepository&version=1.0.9.4
                    
Install as a Cake Addin
#tool nuget:?package=Gasolutions.Core.GenericRepository&version=1.0.9.4
                    
Install as a Cake Tool

GenericRepository

GenericRepository defines the interfaces necessary to implement the Generic Repository pattern.

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 Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9.4 137 3/14/2026
1.0.9.3 129 3/14/2026
1.0.9 128 3/13/2026
1.0.8.1 120 2/19/2026

# Changelog - Gasolutions.Core.GenericRepository
## [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