Hvae you try to do something like this in your Custom Type Handler
 
public void SetParameter(IParameterSetter setter, object parameter)
{
 if (parameter is INullableValue)
 {
   INullableValue nullableValue = (INullableValue)parameter;
   if (nullableValue.HasValue)
   {
        return nullableValue.Value;
   }
   else
   {
        return null;
   }
}

Reply via email to