mapToSimpleValue method
Maps value to something that should be understood by the underlying database engine. For instance, a DateTime will me mapped to its unix timestamp.
Implementation
dynamic mapToSimpleValue(GenerationContext context) {
return BaseSqlType.mapToSqlParameter<T>(context, _customType, value);
}