Skip to content
Discussion options

You must be logged in to vote

My apologies for the somewhat premature post. I managed to get this working by overriding OnSetState and OnGetState. Here's the working example:

[Serializable()]
public class DTODataTable : MobileObject
{
    public MobileList<string> ColumnNames { get; set; }
    public MobileList<string> ColumnTypes { get; set; }
    public MobileList<MobileList<object>> Rows { get; set; }

    public DTODataTable()
    {
        ColumnNames = new MobileList<string>();
        ColumnTypes = new MobileList<string>();
        Rows = new MobileList<MobileList<object>>();
    }

    protected override void OnGetState(Csla.Serialization.Mobile.SerializationInfo info, StateMode mode)
    {
        info.AddVal…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by kobi-shanti
Comment options

You must be logged in to vote
1 reply
@kobi-shanti
Comment options

Comment options

You must be logged in to vote
4 replies
@Chicagoan2016
Comment options

@kobi-shanti
Comment options

@swegele
Comment options

swegele Nov 2, 2023
Collaborator

@rockfordlhotka
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants