This project has moved and is read-only. For the latest updates, please go here.

async db saves

Mar 16, 2011 at 6: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 12:41 PM

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.