Table of Contents

Class GuidHandler

Namespace
IceCoffee.Db4Net.SqliteTypeHandlers
Assembly
IceCoffee.Db4Net.dll

Provides functionality to handle Guid values for SQLite database operations.

public class GuidHandler : SqliteTypeHandler<Guid>, SqlMapper.ITypeHandler
Inheritance
SqlMapper.TypeHandler<Guid>
GuidHandler
Implements
SqlMapper.ITypeHandler
Inherited Members

Remarks

This class is designed to parse Guid values from SQLite database objects. It overrides the parsing behavior to convert a database value into a Guid instance.

Methods

Parse(object)

Converts the specified object to a Guid by parsing its string representation.

public override Guid Parse(object value)

Parameters

value object

The object containing the string representation of a Guid. Must be a non-null string.

Returns

Guid

A Guid parsed from the string representation provided in value.