Class SqliteTypeHandler<T>
- Namespace
- IceCoffee.Db4Net.SqliteTypeHandlers
- Assembly
- IceCoffee.Db4Net.dll
public abstract class SqliteTypeHandler<T> : SqlMapper.TypeHandler<T>, SqlMapper.ITypeHandler
Type Parameters
T
- Inheritance
-
SqlMapper.TypeHandler<T>SqliteTypeHandler<T>
- Implements
-
SqlMapper.ITypeHandler
- Derived
- Inherited Members
Methods
SetValue(IDbDataParameter, T?)
Sets the value of the specified database parameter.
public override void SetValue(IDbDataParameter parameter, T? value)
Parameters
parameterIDbDataParameterThe database parameter whose value is to be set. Cannot be null.
valueTThe value to assign to the parameter. Can be null if the parameter supports null values.
Remarks
This method assigns the provided value to the IDbDataParameter property of the specified parameter. Ensure that the parameter is properly configured to accept the type of the value being assigned.