OnGet/OnSetChildrent should contain formatter as one of the parameters.
You should be able to use is. Here is what I have (see below). Does
this work for you?
private string
_someField;
protected
override void
OnGetChildren(Csla.Serialization.Mobile.SerializationInfo
info, Csla.Serialization.Mobile.MobileFormatter
formatter)
{
var fieldManagerInfo =
formatter.SerializeObject(_someField);
info.AddChild("_someField",
fieldManagerInfo.ReferenceId);
}
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Magenic ®
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: GA30
[mailto:cslanet@lhotka.net]
Sent: Wednesday, August 27, 2008 5:59 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: CSLA Light - MobileFormatter
Hi Sergey,
I am but only for new types. The many existing ones I am leaving
as is (except for adding the serialization code and public
constructors). This system is old and currently has a win forms UI. Now
however there are some new sub systems we're creating in Silverlight. These new
sub systems use types from the old sub systems.
Thanks