Skip to content
Documentation

HAKOM.Persistence.Sql.Net.Api Namespace

Contains the public API surface of the database-agnostic SQL persistence module, including storage provider interfaces, parameter abstractions, and base implementation classes.

The key types in this namespace are:

Classes
SqlParameterFactory<TParameter> Abstract base class for SQL parameter factories that handles parameter-name prefixing.
SqlRepositoryInformationStore<TStorageProvider,TReader,TRepositoryInformation> Abstract base class for SQL-backed repository information stores that query metadata about a repository through a TStorageProvider and optionally cache the result.
SqlStorageProvider<TConnection,TCommand,TNativeParameter,TReader,TParameter,TParameterFactory> Abstract base class for SQL-based storage providers that manages the full lifecycle of connecting, executing, reading, and releasing database resources.
Interfaces
IConnectionSemaphoreCollection<TConnection> Manages a collection of named System.Threading.SemaphoreSlim instances that throttle the number of concurrent connections per connection name.
ISqlParameter Marker interface identifying a SQL parameter that can be passed to storage provider query and execution methods.
ISqlParameter<TNative> A SQL parameter that can be converted to its native ADO.NET representation.
ISqlParameterFactory<TParameter> Factory for creating strongly-typed SQL parameters from name/value pairs.
ISqlStorageProvider Root interface for SQL-based storage providers, supporting execution of parameterless SQL statements.
ISqlStorageProvider<TParameter,TParameterFactory,TReader> Extends ISqlStorageProvider<TReader> with parameterised query execution, wildcard escaping, and collation support.
ISqlStorageProvider<TReader> Extends ISqlStorageProvider with typed query methods that stream results through a user-supplied parser, and provides strongly-typed column-reading methods for common CLR types.
© 2026 Volue.Version v0.6.38017 November 2026