-
If I have a class that passes data to a workflow (as in Sample3) and I persist this to SQLite (have not tried others) it works fine until I add any of my custom classes (i.e. TemporalCoords) and allocate that object (null / non-allocated works ok). I assume this is some serialization issue. I tested inclusion of simple types (int, string, bool) and they work fine; everything is public w/ simple public constructors. Can anyone tell me what my workflow class implement? or what should my custom classes implement? BTW, this project is great, stumbled on it while trying to write my own for a project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I think the answer is the "[Serializable()]" attribute needs to be added to the class and any non-simple type item that's inside it must also carry that attribute. |
Beta Was this translation helpful? Give feedback.
I think the answer is the "[Serializable()]" attribute needs to be added to the class and any non-simple type item that's inside it must also carry that attribute.