The new backend requires a value to be set

This commit is contained in:
Carl Johnsen
2025-05-22 15:28:14 +02:00
parent 6c7e67dd28
commit 344d3dcb5b
@@ -341,7 +341,7 @@ public static partial class ExtensionMethods
if (value is not null && value is System.Collections.IEnumerable && value is not string)
throw new ArgumentException($"Cannot set parameter '{name}' to an array or enumerable type, as the SQLite bindings does not support it.", nameof(value));
#endif
self.Parameters[name].Value = value;
self.Parameters[name].Value = value ?? DBNull.Value;
return self;
}