async db saves

Mar 16, 2011 at 5:08 PM

On one of the objects I am saving to my sterling db I have a SolidColorBrush property. If I save the object the normal way, it works just fine. But If I save my object using the async method it seems to choke on the color. Is there anything I can do about that?

Mar 17, 2011 at 11:41 AM

My best guess is that the SolidColorBrush is either referenced or requires some logic on the UI thread, preventing it from being serializing on the non-UI thread. I would try maybe referencing the RGB and serializing those out/in using a custom serializer and see if that helps.