XmlSerializer limitations

D

DM

Hello.

The .NET CF does not support serialization natively so I expect that
XmlSerializer has some limitiations on objects that can be de-/serialized.

What I'm concerned with is workaround for "one connection at the time"
feature of sql ce. Would it be possible to serilize SqlCeConncetion
(or object that would wrap it ) and than restore it in other process
with XmlSerializer? Of course I'm aware that I'll have provide some
sort of synchornization but it should not be a big problem.

Thanks for any help.

After having written it I realized that, in fact, my question is dump.
But maybe someone knows solution to my main problem so I'm sending it
anyway.
 
I

Ilya Tumanov [MS]

You can't overcome "one connection" limitation this way.

Just close and open connection as needed and use "some sort of
synchronization" to wait until other application is done with it.

Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top