Skip to content
Documentation

ISqlParameterFactory<TParameter> Interface

Factory for creating strongly-typed SQL parameters from name/value pairs.

public interface ISqlParameterFactory<TParameter>
where TParameter : HAKOM.Persistence.Sql.Net.Api.ISqlParameter

TParameter

The SQL parameter type this factory produces.

Derived
↳ SqlParameterFactory<TParameter>

ISqlParameterFactory<TParameter>.ParameterPrefix Property

Section titled “ISqlParameterFactory<TParameter>.ParameterPrefix Property”

Gets the prefix character(s) prepended to parameter names (e.g. @ for SQL Server/PostgreSQL or : for Oracle).

string ParameterPrefix { get; }

System.String

ISqlParameterFactory<TParameter>.Create<TValue>(string, TValue) Method

Section titled “ISqlParameterFactory<TParameter>.Create<TValue>(string, TValue) Method”

Creates a new SQL parameter with the given name and value.

TParameter Create<TValue>(string name, TValue value);

TValue

The CLR type of the parameter value.

name System.String

The parameter name, with or without the provider-specific prefix.

value TValue

The value to bind to the parameter.

TParameter
A new TParameter instance ready to be added to a command.

© 2026 Volue.Version v0.6.38017 November 2026