TypedList row serializable by default ?

Posts   
 
    
DvK
User
Posts: 323
Joined: 22-Mar-2006
# Posted on: 22-Jun-2007 12:04:21   

Hi,

Is it possible to make a TypedList row serializable by default ? Do we have to edit a template to make this happen ?

grtz, Danny

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 22-Jun-2007 16:08:15   
DvK
User
Posts: 323
Joined: 22-Mar-2006
# Posted on: 22-Jun-2007 18:08:58   

Sure, that looks like it...but we need to use the TypedList row directly as a serialized object in our Workflow designer so we can use it's properties in defining rule conditions.

So....is it an option to alter the TypedListAdapter.template or is it better practice to not do this and solve it in a different way ?

gtrz, Danny

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39912
Joined: 17-Aug-2003
# Posted on: 22-Jun-2007 18:10:54   

That's not possible. The thing is: a datarow can't live on its own: it relies on the datatable it's in, because a datarow is simply an object[] array (with here andthere some methods)

So to serialize a row, you need to serialize the table its in as well.

Frans Bouma | Lead developer LLBLGen Pro