[Mono-dev] Very simple typed dataset serialization fails

Rafael Teixeira monoman at gmail.com
Fri Sep 19 08:10:01 EDT 2008


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 will
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 one
> 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 two
> namesin the collection object with different namespaces
>
>     [Test]
>        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
> mono
> platform. So I would be very happy to know if this issue is going to be
> addressed soon.
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Very-simple-typed-dataset-serialization-fails-tp19562540p19562540.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good
intentions."
Augusten Burroughs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080919/9711b4f1/attachment.html 


More information about the Mono-devel-list mailing list