Can't null an OptionSet using ProxyClasses
Setting a OptionSetValue to null/empty is not possible using ProxyClasses?
Trying:
entity.SomeOptionSet_OptionSetValue = null ; //and that has no effect, is just ignored
entity["SomeOptionSet"] = null ; //works just fine
Why?

This will be fixed in the next minor release v5.0.5.
-
Christian Ulrich commented
The BaseProxyClass need some adjustments in
public void SetPropertyValue<T>(string name, T value, string propertyName)
Cangeing:
if (!_equalityComparer.Equals(currentValue, value))
to
if (value == null || !_equalityComparer.Equals(currentValue, value))and
if (!_equalityComparer.Equals(currentValue, value))
to
if (value == null || !_equalityComparer.Equals(currentValue, value))Else a null value will never be detected and set as it should. Problem affect all nullable types!!!
Maybe it can be better optimized but the generated BaseProxyClass need to be fixed!