By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,497 Members | 2,166 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,497 IT Pros & Developers. It's quick & easy.

Persisting Classes

P: n/a
Hi,

Would anyone here be able to point me towards an example
of classes being persisted using serialization to an SQL
database.

I am able to persist to an XML file but not to an DataSet
(and thence to SQL). One issue will involve transforming
the hiricial nature or athe XML files structure to a
relational representation.

Thanks in advance,
Michael McDowell
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Michael,

Well if you can persist it to XML then nothing stop you to include this
file as a field in a table, declaring the field as text would do the trick.

A similiar approach could be used if you serialize the object using binary
serialization, you could then use a field of class image.

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Michael McDowell" <mi**************@cw.com> wrote in message
news:06****************************@phx.gbl...
Hi,

Would anyone here be able to point me towards an example
of classes being persisted using serialization to an SQL
database.

I am able to persist to an XML file but not to an DataSet
(and thence to SQL). One issue will involve transforming
the hiricial nature or athe XML files structure to a
relational representation.

Thanks in advance,
Michael McDowell

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.