[Mono-dev] Very simple typed dataset serialization fails
marcosb at internet.com.uy
Fri Sep 19 10:12:06 EDT 2008
Hi Rafael. I know typed datasets and datasets have some issues, but prior to
the advent of Linq it had many benefits in respect to sorting, filtering and
querying in general (and it still has some benefits when you want versioning
and batch update).
The problem is that I'm trying to migrate a 1 millon LOC program. So it's
very difficult to replace typed datasets with plain objects in a timely
manner (I'm just evaluating how hard would be to migrate our solution to
I will post the bug hoping someone find a solution while I continue testing
my application for other issues.
Rafael Teixeira wrote:
> Very few people use Typed Datasets nowadays as it has serious
> performance/memory issues, so the number of bugs filled for it are low and
> less work is contributed to fix it in Mono.
> If you fill a bug with details the maintainer or some other contributor
> take a look and try to fix it, but it would even be better if you could
> diagnose it further and provide a patch to have it fixed.
> Have Fun,
> On Thu, Sep 18, 2008 at 7:01 PM, marcos b <marcosb at internet.com.uy> wrote:
>> I have an extremelly simple typed dataset generated using vs 2005 with
>> datatable with a simple column
>> When I try to run this test I get the following exception
>> System.ArgumentException : The given name 'MyDataTable' matches atleast
>> namesin the collection object with different namespaces
>> public void SimpleTypedDataSetSerialization()
>> MyDataSet ds = new MyDataSet();
>> BinaryFormatter f = new BinaryFormatter();
>> MemoryStream ms = new MemoryStream();
>> f.Serialize(ms, ds);
>> ms.Position = 0;
>> ds = (MyDataSet)f.Deserialize(ms);
>> Is imperative for me to have the possibility of serializing and
>> deserializing typed datasets for the migration of my application to the
>> platform. So I would be very happy to know if this issue is going to be
>> addressed soon.
>> View this message in context:
>> Sent from the Mono - Dev mailing list archive at Nabble.com.
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
> Rafael "Monoman" Teixeira
> "I myself am made entirely of flaws, stitched together with good
> Augusten Burroughs
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
View this message in context: http://www.nabble.com/Very-simple-typed-dataset-serialization-fails-tp19562540p19573176.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list